We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f31c88 commit 0fbfc86Copy full SHA for 0fbfc86
src/node_crypto.cc
@@ -962,7 +962,7 @@ void SecureContext::SetCiphers(const FunctionCallbackInfo<Value>& args) {
962
// TLSv1.3 cipher suites, so we get backwards compatible synchronous errors.
963
const node::Utf8Value ciphers(args.GetIsolate(), args[0]);
964
if (
965
-#ifdef TLS1_3_VERSION
+#if defined(TLS1_3_VERSION) && !defined(OPENSSL_IS_BORINGSSL)
966
!SSL_CTX_set_ciphersuites(sc->ctx_.get(), "") ||
967
#endif
968
!SSL_CTX_set_cipher_list(sc->ctx_.get(), *ciphers)) {
0 commit comments