mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
lib,src: remove openssl feature conditionals
Remove compile-time and run-time conditionals for features that OpenSSL 1.0.0 and 1.0.1 didn't support: ALPN, OCSP and/or SNI. They are no longer necessary since our baseline is OpenSSL 1.0.2. PR-URL: https://github.com/nodejs/node/pull/21094 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
17954c2b01
commit
a657984109
13 files changed
+13
-99
No files matched your search
+1
-1
@@ -49,7 +49,7 @@ function Server(opts, requestListener) {
|
||||
}
|
||||
opts = util._extend({}, opts);
|
||||
|
||||
if (process.features.tls_alpn && !opts.ALPNProtocols) {
|
||||
if (!opts.ALPNProtocols) {
|
||||
// http/1.0 is not defined as Protocol IDs in IANA
|
||||
// http://www.iana.org/assignments/tls-extensiontype-values
|
||||
// /tls-extensiontype-values.xhtml#alpn-protocol-ids
|
||||
|
||||
Reference in new issue
Block a user