diff options
| author | Nils Maier <maierman@web.de> | 2013-04-05 05:55:57 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-04-05 23:10:47 +0200 |
| commit | 0bcbd947b47d8f3af6c04508f7d493edc901dfdc (patch) | |
| tree | 87d88ee26770477970db498ebfce06a1c4e832d0 /src/SocketCore.cc | |
| parent | b292ae1305e8915edd7099446bdd533ac5c4d0a4 (diff) | |
AppleTLS: Implement AppleTLS and Apple Message Digest
Diffstat (limited to 'src/SocketCore.cc')
| -rw-r--r-- | src/SocketCore.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SocketCore.cc b/src/SocketCore.cc index 165d3bdd..b7ed9d85 100644 --- a/src/SocketCore.cc +++ b/src/SocketCore.cc @@ -819,7 +819,7 @@ bool SocketCore::tlsHandshake(TLSContext* tlsctx, const std::string& hostname) wantWrite_ = false; switch(secure_) { case A2_TLS_NONE: - tlsSession_.reset(new TLSSession(tlsctx)); + tlsSession_.reset(TLSSession::make(tlsctx)); rv = tlsSession_->init(sockfd_); if(rv != TLS_ERR_OK) { std::string error = tlsSession_->getLastErrorString(); |
