summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 6aff4a444..2de87167e 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -947,12 +947,10 @@ main(int ac, char **av)
947 do_fingerprint(pw); 947 do_fingerprint(pw);
948 if (change_passphrase) 948 if (change_passphrase)
949 do_change_passphrase(pw); 949 do_change_passphrase(pw);
950 if (change_comment)
951 do_change_comment(pw);
952 if (convert_to_ssh2) 950 if (convert_to_ssh2)
953 do_convert_to_ssh2(pw); 951 do_convert_to_ssh2(pw);
954 if (convert_from_ssh2) 952 if (change_comment)
955 do_convert_from_ssh2(pw); 953 do_change_comment(pw);
956 if (print_public) 954 if (print_public)
957 do_print_public(pw); 955 do_print_public(pw);
958 if (reader_id != NULL) { 956 if (reader_id != NULL) {
@@ -970,6 +968,9 @@ main(int ac, char **av)
970 seed_rng(); 968 seed_rng();
971 arc4random_stir(); 969 arc4random_stir();
972 970
971 if (convert_from_ssh2)
972 do_convert_from_ssh2(pw);
973
973 if (key_type_name == NULL) { 974 if (key_type_name == NULL) {
974 printf("You must specify a key type (-t).\n"); 975 printf("You must specify a key type (-t).\n");
975 usage(); 976 usage();