- (djm) [ssh-keygen.c] Don't fail in do_gen_all_hostkeys on platforms

that don't support ECC. Patch from Phil Oleson
This commit is contained in:
Damien Miller 2012-02-06 07:41:27 +11:00
parent e9b3ad73ba
commit b56e4930ae
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,6 @@
20120117 20120206
- (dtucker) [configure.ac mac.c openbsd-compat/openssl-compat.h] Add - (djm) [ssh-keygen.c] Don't fail in do_gen_all_hostkeys on platforms
null implementation of HMAC_CTX_init for the benefit of old versions that don't support ECC. Patch from Phil Oleson
of OpenSSL that don't have it.
20111219 20111219
- OpenBSD CVS Sync - OpenBSD CVS Sync

View File

@ -857,7 +857,9 @@ do_gen_all_hostkeys(struct passwd *pw)
{ "rsa1", "RSA1", _PATH_HOST_KEY_FILE }, { "rsa1", "RSA1", _PATH_HOST_KEY_FILE },
{ "rsa", "RSA" ,_PATH_HOST_RSA_KEY_FILE }, { "rsa", "RSA" ,_PATH_HOST_RSA_KEY_FILE },
{ "dsa", "DSA", _PATH_HOST_DSA_KEY_FILE }, { "dsa", "DSA", _PATH_HOST_DSA_KEY_FILE },
#ifdef OPENSSL_HAS_ECC
{ "ecdsa", "ECDSA",_PATH_HOST_ECDSA_KEY_FILE }, { "ecdsa", "ECDSA",_PATH_HOST_ECDSA_KEY_FILE },
#endif
{ NULL, NULL, NULL } { NULL, NULL, NULL }
}; };