summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-08-23 15:37:38 +0000
committerjsing <jsing@openbsd.org>2014-08-23 15:37:38 +0000
commit98464bca80dd4c6fb622e413dee27fbf454cd07f (patch)
treeed88ee6c5e70d4a9158ba11f52a1767f2cec951a
parentclose fd when fdopen fails (diff)
downloadwireguard-openbsd-98464bca80dd4c6fb622e413dee27fbf454cd07f.tar.xz
wireguard-openbsd-98464bca80dd4c6fb622e413dee27fbf454cd07f.zip
Remove non-standard GOST cipher suites (which are not compiled in
currently). From Dmitry Eremin-Solenikov.
-rw-r--r--lib/libssl/s3_lib.c69
-rw-r--r--lib/libssl/src/ssl/s3_lib.c69
2 files changed, 2 insertions, 136 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c
index 1578f0388dc..9a256430709 100644
--- a/lib/libssl/s3_lib.c
+++ b/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_lib.c,v 1.77 2014/08/23 14:52:41 jsing Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.78 2014/08/23 15:37:38 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1705,73 +1705,6 @@ SSL_CIPHER ssl3_ciphers[] = {
.alg_bits = 256,
},
-#ifdef TEMP_GOST_TLS
- /* Cipher FF00 */
- {
- .valid = 1,
- .name = "GOST-MD5",
- .id = 0x0300ff00,
- .algorithm_mkey = SSL_kRSA,
- .algorithm_auth = SSL_aRSA,
- .algorithm_enc = SSL_eGOST2814789CNT,
- .algorithm_mac = SSL_MD5,
- .algorithm_ssl = SSL_TLSV1,
- .algo_strength = SSL_HIGH,
- .algorithm2 = SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF,
- .strength_bits = 256,
- .alg_bits = 256,
- },
-
- /* Cipher FF01 */
- {
- .valid = 1,
- .name = "GOST-GOST94",
- .id = 0x0300ff01,
- .algorithm_mkey = SSL_kRSA,
- .algorithm_auth = SSL_aRSA,
- .algorithm_enc = SSL_eGOST2814789CNT,
- .algorithm_mac = SSL_GOST94,
- .algorithm_ssl = SSL_TLSV1,
- .algo_strength = SSL_HIGH,
- .algorithm2 = SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF,
- .strength_bits = 256,
- .alg_bits = 256
- },
-
- /* Cipher FF02 */
- {
- .valid = 1,
- .name = "GOST-GOST89MAC",
- .id = 0x0300ff02,
- .algorithm_mkey = SSL_kRSA,
- .algorithm_auth = SSL_aRSA,
- .algorithm_enc = SSL_eGOST2814789CNT,
- .algorithm_mac = SSL_GOST89MAC,
- .algorithm_ssl = SSL_TLSV1,
- .algo_strength = SSL_HIGH,
- .algorithm2 = SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF,
- .strength_bits = 256,
- .alg_bits = 256
- },
-
- /* Cipher FF03 */
- {
- .valid = 1,
- .name = "GOST-GOST89STREAM",
- .id = 0x0300ff03,
- .algorithm_mkey = SSL_kRSA,
- .algorithm_auth = SSL_aRSA,
- .algorithm_enc = SSL_eGOST2814789CNT,
- .algorithm_mac = SSL_GOST89MAC,
- .algorithm_ssl = SSL_TLSV1,
- .algo_strength = SSL_HIGH,
- .algorithm2 = SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF|
- TLS1_STREAM_MAC,
- .strength_bits = 256,
- .alg_bits = 256
- },
-#endif
-
#if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305)
/* Cipher CC13 */
{
diff --git a/lib/libssl/src/ssl/s3_lib.c b/lib/libssl/src/ssl/s3_lib.c
index 1578f0388dc..9a256430709 100644
--- a/lib/libssl/src/ssl/s3_lib.c
+++ b/lib/libssl/src/ssl/s3_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_lib.c,v 1.77 2014/08/23 14:52:41 jsing Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.78 2014/08/23 15:37:38 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1705,73 +1705,6 @@ SSL_CIPHER ssl3_ciphers[] = {
.alg_bits = 256,
},
-#ifdef TEMP_GOST_TLS
- /* Cipher FF00 */
- {
- .valid = 1,
- .name = "GOST-MD5",
- .id = 0x0300ff00,
- .algorithm_mkey = SSL_kRSA,
- .algorithm_auth = SSL_aRSA,
- .algorithm_enc = SSL_eGOST2814789CNT,
- .algorithm_mac = SSL_MD5,
- .algorithm_ssl = SSL_TLSV1,
- .algo_strength = SSL_HIGH,
- .algorithm2 = SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF,
- .strength_bits = 256,
- .alg_bits = 256,
- },
-
- /* Cipher FF01 */
- {
- .valid = 1,
- .name = "GOST-GOST94",
- .id = 0x0300ff01,
- .algorithm_mkey = SSL_kRSA,
- .algorithm_auth = SSL_aRSA,
- .algorithm_enc = SSL_eGOST2814789CNT,
- .algorithm_mac = SSL_GOST94,
- .algorithm_ssl = SSL_TLSV1,
- .algo_strength = SSL_HIGH,
- .algorithm2 = SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF,
- .strength_bits = 256,
- .alg_bits = 256
- },
-
- /* Cipher FF02 */
- {
- .valid = 1,
- .name = "GOST-GOST89MAC",
- .id = 0x0300ff02,
- .algorithm_mkey = SSL_kRSA,
- .algorithm_auth = SSL_aRSA,
- .algorithm_enc = SSL_eGOST2814789CNT,
- .algorithm_mac = SSL_GOST89MAC,
- .algorithm_ssl = SSL_TLSV1,
- .algo_strength = SSL_HIGH,
- .algorithm2 = SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF,
- .strength_bits = 256,
- .alg_bits = 256
- },
-
- /* Cipher FF03 */
- {
- .valid = 1,
- .name = "GOST-GOST89STREAM",
- .id = 0x0300ff03,
- .algorithm_mkey = SSL_kRSA,
- .algorithm_auth = SSL_aRSA,
- .algorithm_enc = SSL_eGOST2814789CNT,
- .algorithm_mac = SSL_GOST89MAC,
- .algorithm_ssl = SSL_TLSV1,
- .algo_strength = SSL_HIGH,
- .algorithm2 = SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF|
- TLS1_STREAM_MAC,
- .strength_bits = 256,
- .alg_bits = 256
- },
-#endif
-
#if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305)
/* Cipher CC13 */
{