1
0
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:
Jakub Jelen
2023-08-11 16:21:10 +02:00
parent ad458c4633
commit 0cfd4d8ec7

View File

@ -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");