Skip to content

Commit c0357ec

Browse files
committed
ssl: remove OpenSSL::ExtConfig::TLS_DH_anon_WITH_AES_256_GCM_SHA384
The constant was initially introduced just to skip test cases that do not work with old versions without AES-GCM cipher suites support (< 1.0.1). However, the value of the constant has been always `false' because the macro TLS_DH_anon_WITH_AES_256_GCM_SHA384 does not exist in any version of OpenSSL. We no longer use it as of commit c9d1659 ("test/utils: remove use_anon_cipher option from SSLTestCase#start_server", 2016-09-06). Let's just remove the constant.
1 parent 7323185 commit c0357ec

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ext/openssl/ossl_ssl.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2453,12 +2453,6 @@ Init_ossl_ssl(void)
24532453

24542454
rb_define_const(mSSLExtConfig, "HAVE_TLSEXT_HOST_NAME", Qtrue);
24552455

2456-
#ifdef TLS_DH_anon_WITH_AES_256_GCM_SHA384
2457-
rb_define_const(mSSLExtConfig, "TLS_DH_anon_WITH_AES_256_GCM_SHA384", Qtrue);
2458-
#else
2459-
rb_define_const(mSSLExtConfig, "TLS_DH_anon_WITH_AES_256_GCM_SHA384", Qfalse);
2460-
#endif
2461-
24622456
/*
24632457
* A callback invoked whenever a new handshake is initiated. May be used
24642458
* to disable renegotiation entirely.

0 commit comments

Comments
 (0)