We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f99349d commit 7155aafCopy full SHA for 7155aaf
src/node_crypto.cc
@@ -937,7 +937,7 @@ void SecureContext::SetCiphers(const FunctionCallbackInfo<Value>& args) {
937
// TLSv1.3 cipher suites, so we get backwards compatible synchronous errors.
938
const node::Utf8Value ciphers(args.GetIsolate(), args[0]);
939
if (
940
-#ifdef TLS1_3_VERSION
+#if defined(TLS1_3_VERSION) && !defined(OPENSSL_IS_BORINGSSL)
941
!SSL_CTX_set_ciphersuites(sc->ctx_.get(), "") ||
942
#endif
943
!SSL_CTX_set_cipher_list(sc->ctx_.get(), *ciphers)) {
0 commit comments