summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2016-11-06 12:08:32 +0000
committerjsing <>2016-11-06 12:08:32 +0000
commit20df299cfb457c41a3850f33fcffd5435b0d9e30 (patch)
treefc9a0929d6fc3dd82787f0e710b8ad54d4336857 /src
parent1f419baa376aacc25d2b1c778bc2edb8540c1068 (diff)
downloadopenbsd-20df299cfb457c41a3850f33fcffd5435b0d9e30.tar.gz
openbsd-20df299cfb457c41a3850f33fcffd5435b0d9e30.tar.bz2
openbsd-20df299cfb457c41a3850f33fcffd5435b0d9e30.zip
Remove the single IDEA cipher suite. There is no good reason to support
this. ok beck@ bcook@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/s3_lib.c20
-rw-r--r--src/lib/libssl/ssl_algs.c5
-rw-r--r--src/lib/libssl/ssl_ciph.c7
3 files changed, 3 insertions, 29 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index 6c4383fb22..8a7a98507a 100644
--- a/src/lib/libssl/s3_lib.c
+++ b/src/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_lib.c,v 1.110 2016/11/06 11:58:13 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.111 2016/11/06 12:08:32 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -234,24 +234,6 @@ SSL_CIPHER ssl3_ciphers[] = {
234 .alg_bits = 128, 234 .alg_bits = 128,
235 }, 235 },
236 236
237 /* Cipher 07 */
238#ifndef OPENSSL_NO_IDEA
239 {
240 .valid = 1,
241 .name = SSL3_TXT_RSA_IDEA_128_SHA,
242 .id = SSL3_CK_RSA_IDEA_128_SHA,
243 .algorithm_mkey = SSL_kRSA,
244 .algorithm_auth = SSL_aRSA,
245 .algorithm_enc = SSL_IDEA,
246 .algorithm_mac = SSL_SHA1,
247 .algorithm_ssl = SSL_SSLV3,
248 .algo_strength = SSL_MEDIUM,
249 .algorithm2 = SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF,
250 .strength_bits = 128,
251 .alg_bits = 128,
252 },
253#endif
254
255 /* Cipher 09 */ 237 /* Cipher 09 */
256 { 238 {
257 .valid = 1, 239 .valid = 1,
diff --git a/src/lib/libssl/ssl_algs.c b/src/lib/libssl/ssl_algs.c
index 3010a735c9..ee1919c725 100644
--- a/src/lib/libssl/ssl_algs.c
+++ b/src/lib/libssl/ssl_algs.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_algs.c,v 1.22 2014/12/14 15:30:50 jsing Exp $ */ 1/* $OpenBSD: ssl_algs.c,v 1.23 2016/11/06 12:08:32 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -71,9 +71,6 @@ SSL_library_init(void)
71 EVP_add_cipher(EVP_des_cbc()); 71 EVP_add_cipher(EVP_des_cbc());
72 EVP_add_cipher(EVP_des_ede3_cbc()); 72 EVP_add_cipher(EVP_des_ede3_cbc());
73#endif 73#endif
74#ifndef OPENSSL_NO_IDEA
75 EVP_add_cipher(EVP_idea_cbc());
76#endif
77#ifndef OPENSSL_NO_RC4 74#ifndef OPENSSL_NO_RC4
78 EVP_add_cipher(EVP_rc4()); 75 EVP_add_cipher(EVP_rc4());
79#if !defined(OPENSSL_NO_MD5) && (defined(__x86_64) || defined(__x86_64__)) 76#if !defined(OPENSSL_NO_MD5) && (defined(__x86_64) || defined(__x86_64__))
diff --git a/src/lib/libssl/ssl_ciph.c b/src/lib/libssl/ssl_ciph.c
index 2921933c28..af5c83fcaf 100644
--- a/src/lib/libssl/ssl_ciph.c
+++ b/src/lib/libssl/ssl_ciph.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_ciph.c,v 1.88 2016/11/06 11:58:13 jsing Exp $ */ 1/* $OpenBSD: ssl_ciph.c,v 1.89 2016/11/06 12:08:32 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -479,12 +479,7 @@ ssl_load_ciphers(void)
479 EVP_get_cipherbyname(SN_des_ede3_cbc); 479 EVP_get_cipherbyname(SN_des_ede3_cbc);
480 ssl_cipher_methods[SSL_ENC_RC4_IDX] = 480 ssl_cipher_methods[SSL_ENC_RC4_IDX] =
481 EVP_get_cipherbyname(SN_rc4); 481 EVP_get_cipherbyname(SN_rc4);
482#ifndef OPENSSL_NO_IDEA
483 ssl_cipher_methods[SSL_ENC_IDEA_IDX] =
484 EVP_get_cipherbyname(SN_idea_cbc);
485#else
486 ssl_cipher_methods[SSL_ENC_IDEA_IDX] = NULL; 482 ssl_cipher_methods[SSL_ENC_IDEA_IDX] = NULL;
487#endif
488 ssl_cipher_methods[SSL_ENC_AES128_IDX] = 483 ssl_cipher_methods[SSL_ENC_AES128_IDX] =
489 EVP_get_cipherbyname(SN_aes_128_cbc); 484 EVP_get_cipherbyname(SN_aes_128_cbc);
490 ssl_cipher_methods[SSL_ENC_AES256_IDX] = 485 ssl_cipher_methods[SSL_ENC_AES256_IDX] =