version 1.418, 2020/08/27 01:08:45 |
version 1.419, 2020/08/27 09:46:04 |
|
|
prv = load_identity(identity_file, &comment); |
prv = load_identity(identity_file, &comment); |
if ((r = sshkey_write(prv, stdout)) != 0) |
if ((r = sshkey_write(prv, stdout)) != 0) |
error("sshkey_write failed: %s", ssh_err(r)); |
error("sshkey_write failed: %s", ssh_err(r)); |
sshkey_free(prv); |
|
if (comment != NULL && *comment != '\0') |
if (comment != NULL && *comment != '\0') |
fprintf(stdout, " %s", comment); |
fprintf(stdout, " %s", comment); |
fprintf(stdout, "\n"); |
fprintf(stdout, "\n"); |
|
if (sshkey_is_sk(prv)) { |
|
debug("sk_application: \"%s\", sk_flags 0x%02x", |
|
prv->sk_application, prv->sk_flags); |
|
} |
|
sshkey_free(prv); |
free(comment); |
free(comment); |
exit(0); |
exit(0); |
} |
} |