mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
crypto: don't call SSL_CTX_set_ciphersuites on boringssl
PR-URL: https://github.com/nodejs/node/pull/26365 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
1 parent
4b84152e61
commit
6e3af4dcff
1 file changed
+1
-1
+1
-1
@@ -964,7 +964,7 @@ void SecureContext::SetCiphers(const FunctionCallbackInfo<Value>& args) {
|
||||
// TLSv1.3 cipher suites, so we get backwards compatible synchronous errors.
|
||||
const node::Utf8Value ciphers(args.GetIsolate(), args[0]);
|
||||
if (
|
||||
#ifdef TLS1_3_VERSION
|
||||
#if defined(TLS1_3_VERSION) && !defined(OPENSSL_IS_BORINGSSL)
|
||||
!SSL_CTX_set_ciphersuites(sc->ctx_.get(), "") ||
|
||||
#endif
|
||||
!SSL_CTX_set_cipher_list(sc->ctx_.get(), *ciphers)) {
|
||||
|
||||
Reference in new issue
Block a user