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