diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-04-19 09:53:14 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-04-19 17:34:00 +1000 |
commit | f5baa36ba79a6e8c534fb4e0a00f2614ccc42ea6 (patch) | |
tree | ce2e75fea1ef75502063027dcf2a6fe51742ff0f | |
parent | 868afa68469de50d8a43e5daf867d7c624a34d20 (diff) |
Omit 3des-cbc if OpenSSL built without DES.
Patch from hongxu.jia at windriver.com, ok djm@
-rw-r--r-- | cipher.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -82,7 +82,9 @@ struct sshcipher { static const struct sshcipher ciphers[] = { #ifdef WITH_OPENSSL +#ifndef OPENSSL_NO_DES { "3des-cbc", 8, 24, 0, 0, CFLAG_CBC, EVP_des_ede3_cbc }, +#endif { "aes128-cbc", 16, 16, 0, 0, CFLAG_CBC, EVP_aes_128_cbc }, { "aes192-cbc", 16, 24, 0, 0, CFLAG_CBC, EVP_aes_192_cbc }, { "aes256-cbc", 16, 32, 0, 0, CFLAG_CBC, EVP_aes_256_cbc }, |