diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 20:42:47 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 20:42:47 +0000 |
commit | 9ad7b718d42e43f3a285fcbc8f91193931fce324 (patch) | |
tree | 95afe9b315fb73da54752d5bb71c682485b2d370 /key.c | |
parent | 5d05471f6657646d1d6500c7c43134462c407ee6 (diff) |
import openssh-4.0p1-gssapikex.patch
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; |