diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1688,6 +1688,11 @@ main(int ac, char **av) | |||
1688 | sensitive_data.host_pubkeys[i] = NULL; | 1688 | sensitive_data.host_pubkeys[i] = NULL; |
1689 | continue; | 1689 | continue; |
1690 | } | 1690 | } |
1691 | if (auth_key_is_revoked(key != NULL ? key : pubkey, 1)) { | ||
1692 | sensitive_data.host_keys[i] = NULL; | ||
1693 | sensitive_data.host_pubkeys[i] = NULL; | ||
1694 | continue; | ||
1695 | } | ||
1691 | 1696 | ||
1692 | switch (keytype) { | 1697 | switch (keytype) { |
1693 | case KEY_RSA1: | 1698 | case KEY_RSA1: |