mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
examples: Reformat and fix typos in keygen
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@ -30,7 +30,7 @@ int main(void)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Write it to a file testkey in the current dirrectory */
|
/* Write it to a file testkey in the current directory */
|
||||||
rv = ssh_pki_export_privkey_file(key, NULL, NULL, NULL, "testkey");
|
rv = ssh_pki_export_privkey_file(key, NULL, NULL, NULL, "testkey");
|
||||||
if (rv != SSH_OK) {
|
if (rv != SSH_OK) {
|
||||||
fprintf(stderr, "Failed to write private key file");
|
fprintf(stderr, "Failed to write private key file");
|
||||||
|
Reference in New Issue
Block a user