summaryrefslogtreecommitdiff
path: root/src/node_crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r--src/node_crypto.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h
index 1c17dc1081..05ea79f71f 100644
--- a/src/node_crypto.h
+++ b/src/node_crypto.h
@@ -225,14 +225,6 @@ class SSLWrap {
SSL_SESSION_free(next_sess_);
next_sess_ = nullptr;
}
-
-#ifdef SSL_CTRL_SET_TLSEXT_SERVERNAME_CB
- sni_context_.Reset();
-#endif
-
-#ifdef NODE__HAVE_TLSEXT_STATUS_CB
- ocsp_response_.Reset();
-#endif // NODE__HAVE_TLSEXT_STATUS_CB
}
inline SSL* ssl() const { return ssl_; }