Skip to content

Commit a115779

Browse files
author
Shigeki Ohtsu
committed
deps: Disable EXPORT and LOW ciphers in openssl
openssl-1.0.1s disables EXPORT and LOW ciphers by default. They are obsoleted ciphers and not safe for the current use. Node LTS also deprecates them. Fixes: nodejs/Release#85 PR-URL: #5712 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 154098a commit a115779

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

deps/openssl/config/opensslconf.h

+6
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
# ifndef OPENSSL_NO_STORE
4545
# define OPENSSL_NO_STORE
4646
# endif
47+
#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
48+
# define OPENSSL_NO_WEAK_SSL_CIPHERS
49+
#endif
4750
#endif /* OPENSSL_DOING_MAKEDEPEND */
4851

4952
#ifndef OPENSSL_THREADS
@@ -112,6 +115,9 @@
112115
# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
113116
# define NO_MDC2
114117
# endif
118+
# if defined(OPENSSL_NO_WEAK_SSL_CIPHERS) && !defined(NO_WEAK_SSL_CIPHERS)
119+
# define NO_WEAK_SSL_CIPHERS
120+
# endif
115121
#endif
116122

117123
/* crypto/opensslconf.h.in */

0 commit comments

Comments
 (0)