summaryrefslogtreecommitdiff
path: root/src/tls_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls_wrap.h')
-rw-r--r--src/tls_wrap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls_wrap.h b/src/tls_wrap.h
index b45e379ca3..5f4fd3f707 100644
--- a/src/tls_wrap.h
+++ b/src/tls_wrap.h
@@ -143,8 +143,8 @@ class TLSWrap : public AsyncWrap,
static int SelectSNIContextCallback(SSL* s, int* ad, void* arg);
crypto::SecureContext* sc_;
- BIO* enc_in_;
- BIO* enc_out_;
+ BIO* enc_in_ = nullptr;
+ BIO* enc_out_ = nullptr;
std::vector<uv_buf_t> pending_cleartext_input_;
size_t write_size_;
WriteWrap* current_write_ = nullptr;