summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl.gyp
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-01-11 01:53:20 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-01-11 16:07:45 +0100
commit26dd9e15bb9e913af38473a74e2a1049c21df29b (patch)
tree5220a842f45f490372a5a6d5390efa8152f35e82 /deps/openssl/openssl.gyp
parent3ecad1d542fd44a3638d8d8397eeb59f7252b1d7 (diff)
downloadandroid-node-v8-26dd9e15bb9e913af38473a74e2a1049c21df29b.tar.gz
android-node-v8-26dd9e15bb9e913af38473a74e2a1049c21df29b.tar.bz2
android-node-v8-26dd9e15bb9e913af38473a74e2a1049c21df29b.zip
build,src: remove sslv2 support
SSLv2 has been deprecated and known broken for nearly twenty years now. I made SSLv2 support opt-in well over a year ago in commit 39aa894 and now this commit removes it entirely. PR-URL: https://github.com/iojs/io.js/pull/290 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'deps/openssl/openssl.gyp')
-rw-r--r--deps/openssl/openssl.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp
index ea85838f63..edb0a5b25b 100644
--- a/deps/openssl/openssl.gyp
+++ b/deps/openssl/openssl.gyp
@@ -1095,6 +1095,10 @@
'PURIFY',
'_REENTRANT',
+ # SSLv2 is known broken and has been superseded by SSLv3 for almost
+ # twenty years now.
+ 'OPENSSL_NO_SSL2',
+
# Heartbeat is a TLS extension, that couldn't be turned off or
# asked to be not advertised. Unfortunately this is unacceptable for
# Microsoft's IIS, which seems to be ignoring whole ClientHello after