diff options
Diffstat (limited to 'key.c')
-rw-r--r-- | key.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -648,6 +648,8 @@ key_type_from_name(char *name) | |||
648 | return KEY_RSA; | 648 | return KEY_RSA; |
649 | } else if (strcmp(name, "ssh-dss") == 0) { | 649 | } else if (strcmp(name, "ssh-dss") == 0) { |
650 | return KEY_DSA; | 650 | return KEY_DSA; |
651 | } else if (strcmp(name, "null") == 0) { | ||
652 | return KEY_NULL; | ||
651 | } | 653 | } |
652 | debug2("key_type_from_name: unknown key type '%s'", name); | 654 | debug2("key_type_from_name: unknown key type '%s'", name); |
653 | return KEY_UNSPEC; | 655 | return KEY_UNSPEC; |