diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshd.c,v 1.454 2015/07/10 06:21:53 markus Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.455 2015/07/15 08:00:11 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -798,7 +798,7 @@ list_hostkey_types(void) | |||
798 | key = sensitive_data.host_keys[i]; | 798 | key = sensitive_data.host_keys[i]; |
799 | if (key == NULL) | 799 | if (key == NULL) |
800 | key = sensitive_data.host_pubkeys[i]; | 800 | key = sensitive_data.host_pubkeys[i]; |
801 | if (key == NULL) | 801 | if (key == NULL && key->type != KEY_RSA1) |
802 | continue; | 802 | continue; |
803 | /* Check that the key is accepted in HostkeyAlgorithms */ | 803 | /* Check that the key is accepted in HostkeyAlgorithms */ |
804 | if (match_pattern_list(sshkey_ssh_name(key), | 804 | if (match_pattern_list(sshkey_ssh_name(key), |