diff options
Diffstat (limited to 'src/tls_wrap.cc')
-rw-r--r-- | src/tls_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls_wrap.cc b/src/tls_wrap.cc index 13ba550398..b6b87b30ca 100644 --- a/src/tls_wrap.cc +++ b/src/tls_wrap.cc @@ -374,7 +374,7 @@ Local<Value> TLSWrap::GetSSLError(int status, int* err, const char** msg) { buf[mem->length] = '\0'; *msg = buf; } - static_cast<void>(BIO_reset(bio)); + BIO_free_all(bio); return scope.Escape(exception); } |