diff --git a/src/tls_wrap.cc b/src/tls_wrap.cc index fcce8aad104340..3ef4380a916fe2 100644 --- a/src/tls_wrap.cc +++ b/src/tls_wrap.cc @@ -110,8 +110,7 @@ void TLSWrap::InitSSL() { SSL_set_verify(ssl_.get(), SSL_VERIFY_NONE, crypto::VerifyCallback); #ifdef SSL_MODE_RELEASE_BUFFERS - long mode = SSL_get_mode(ssl_.get()); // NOLINT(runtime/int) - SSL_set_mode(ssl_.get(), mode | SSL_MODE_RELEASE_BUFFERS); + SSL_set_mode(ssl_.get(), SSL_MODE_RELEASE_BUFFERS); #endif // SSL_MODE_RELEASE_BUFFERS SSL_set_app_data(ssl_.get(), this);