Browse Source

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: https://github.com/nodejs/LTS/issues/85
PR-URL: https://github.com/nodejs/node/pull/5712
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v0.10
Shigeki Ohtsu 9 years ago
parent
commit
0847954331
  1. 6
      deps/openssl/config/opensslconf.h

6
deps/openssl/config/opensslconf.h

@ -44,6 +44,9 @@
# ifndef OPENSSL_NO_STORE # ifndef OPENSSL_NO_STORE
# define OPENSSL_NO_STORE # define OPENSSL_NO_STORE
# endif # endif
#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
# define OPENSSL_NO_WEAK_SSL_CIPHERS
#endif
#endif /* OPENSSL_DOING_MAKEDEPEND */ #endif /* OPENSSL_DOING_MAKEDEPEND */
#ifndef OPENSSL_THREADS #ifndef OPENSSL_THREADS
@ -112,6 +115,9 @@
# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) # if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
# define NO_MDC2 # define NO_MDC2
# endif # endif
# if defined(OPENSSL_NO_WEAK_SSL_CIPHERS) && !defined(NO_WEAK_SSL_CIPHERS)
# define NO_WEAK_SSL_CIPHERS
# endif
#endif #endif
/* crypto/opensslconf.h.in */ /* crypto/opensslconf.h.in */

Loading…
Cancel
Save