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 4814987 commit 6f66f37Copy full SHA for 6f66f37
src/tls_wrap.cc
@@ -111,8 +111,7 @@ void TLSWrap::InitSSL() {
111
SSL_set_verify(ssl_.get(), SSL_VERIFY_NONE, crypto::VerifyCallback);
112
113
#ifdef SSL_MODE_RELEASE_BUFFERS
114
- long mode = SSL_get_mode(ssl_.get()); // NOLINT(runtime/int)
115
- SSL_set_mode(ssl_.get(), mode | SSL_MODE_RELEASE_BUFFERS);
+ SSL_set_mode(ssl_.get(), SSL_MODE_RELEASE_BUFFERS);
116
#endif // SSL_MODE_RELEASE_BUFFERS
117
118
SSL_set_app_data(ssl_.get(), this);
0 commit comments