diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ssh-keygen.c | 2 |
2 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,6 @@ | |||
1 | 20120117 | 1 | 20120206 |
2 | - (dtucker) [configure.ac mac.c openbsd-compat/openssl-compat.h] Add | 2 | - (djm) [ssh-keygen.c] Don't fail in do_gen_all_hostkeys on platforms |
3 | null implementation of HMAC_CTX_init for the benefit of old versions | 3 | that don't support ECC. Patch from Phil Oleson |
4 | of OpenSSL that don't have it. | ||
5 | 4 | ||
6 | 20111219 | 5 | 20111219 |
7 | - OpenBSD CVS Sync | 6 | - OpenBSD CVS Sync |
diff --git a/ssh-keygen.c b/ssh-keygen.c index 53b232d6e..5fcd3a159 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -857,7 +857,9 @@ do_gen_all_hostkeys(struct passwd *pw) | |||
857 | { "rsa1", "RSA1", _PATH_HOST_KEY_FILE }, | 857 | { "rsa1", "RSA1", _PATH_HOST_KEY_FILE }, |
858 | { "rsa", "RSA" ,_PATH_HOST_RSA_KEY_FILE }, | 858 | { "rsa", "RSA" ,_PATH_HOST_RSA_KEY_FILE }, |
859 | { "dsa", "DSA", _PATH_HOST_DSA_KEY_FILE }, | 859 | { "dsa", "DSA", _PATH_HOST_DSA_KEY_FILE }, |
860 | #ifdef OPENSSL_HAS_ECC | ||
860 | { "ecdsa", "ECDSA",_PATH_HOST_ECDSA_KEY_FILE }, | 861 | { "ecdsa", "ECDSA",_PATH_HOST_ECDSA_KEY_FILE }, |
862 | #endif | ||
861 | { NULL, NULL, NULL } | 863 | { NULL, NULL, NULL } |
862 | }; | 864 | }; |
863 | 865 | ||