commit | b56e4930aeada1b73d3457b452bf241236fdb1ed | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Mon Feb 06 07:41:27 2012 +1100 |
committer | Damien Miller <djm@mindrot.org> | Mon Feb 06 07:41:27 2012 +1100 |
tree | f17450f1ff0ef4222d8264ba25ae785fa5fc6a09 | |
parent | e9b3ad73baf25fa780f853e40f91ce74f0381c76 [diff] [blame] |
- (djm) [ssh-keygen.c] Don't fail in do_gen_all_hostkeys on platforms that don't support ECC. Patch from Phil Oleson
diff --git a/ssh-keygen.c b/ssh-keygen.c index 53b232d..5fcd3a1 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c
@@ -857,7 +857,9 @@ { "rsa1", "RSA1", _PATH_HOST_KEY_FILE }, { "rsa", "RSA" ,_PATH_HOST_RSA_KEY_FILE }, { "dsa", "DSA", _PATH_HOST_DSA_KEY_FILE }, +#ifdef OPENSSL_HAS_ECC { "ecdsa", "ECDSA",_PATH_HOST_ECDSA_KEY_FILE }, +#endif { NULL, NULL, NULL } };