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 4b84152 commit 6e3af4dCopy full SHA for 6e3af4d
src/node_crypto.cc
@@ -964,7 +964,7 @@ void SecureContext::SetCiphers(const FunctionCallbackInfo<Value>& args) {
964
// TLSv1.3 cipher suites, so we get backwards compatible synchronous errors.
965
const node::Utf8Value ciphers(args.GetIsolate(), args[0]);
966
if (
967
-#ifdef TLS1_3_VERSION
+#if defined(TLS1_3_VERSION) && !defined(OPENSSL_IS_BORINGSSL)
968
!SSL_CTX_set_ciphersuites(sc->ctx_.get(), "") ||
969
#endif
970
!SSL_CTX_set_cipher_list(sc->ctx_.get(), *ciphers)) {
0 commit comments