diff options
Diffstat (limited to 'key.c')
-rw-r--r-- | key.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -763,6 +763,8 @@ key_type_from_name(char *name) | |||
763 | return KEY_RSA; | 763 | return KEY_RSA; |
764 | } else if (strcmp(name, "ssh-dss") == 0) { | 764 | } else if (strcmp(name, "ssh-dss") == 0) { |
765 | return KEY_DSA; | 765 | return KEY_DSA; |
766 | } else if (strcmp(name, "null") == 0) { | ||
767 | return KEY_NULL; | ||
766 | } | 768 | } |
767 | debug2("key_type_from_name: unknown key type '%s'", name); | 769 | debug2("key_type_from_name: unknown key type '%s'", name); |
768 | return KEY_UNSPEC; | 770 | return KEY_UNSPEC; |