summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/AppleTLSSession.cc3
-rw-r--r--src/AppleTLSSession.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/AppleTLSSession.cc b/src/AppleTLSSession.cc
index 074d27b0..5c13e569 100644
--- a/src/AppleTLSSession.cc
+++ b/src/AppleTLSSession.cc
@@ -294,8 +294,7 @@ TLSSession* TLSSession::make(TLSContext* ctx)
}
AppleTLSSession::AppleTLSSession(AppleTLSContext* ctx)
- : ctx_(ctx),
- sslCtx_(nullptr),
+ : sslCtx_(nullptr),
sockfd_(0),
state_(st_constructed),
lastError_(noErr),
diff --git a/src/AppleTLSSession.h b/src/AppleTLSSession.h
index e776a294..637c2c1c 100644
--- a/src/AppleTLSSession.h
+++ b/src/AppleTLSSession.h
@@ -112,7 +112,6 @@ private:
return ((AppleTLSSession*)conn)->sockRead(data, len);
}
- AppleTLSContext *ctx_;
SSLContextRef sslCtx_;
sock_t sockfd_;
state_t state_;