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