diff options
Diffstat (limited to 'src/ssl/tls_server.cpp')
-rw-r--r-- | src/ssl/tls_server.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ssl/tls_server.cpp b/src/ssl/tls_server.cpp index 6ee4f51d2..84d961423 100644 --- a/src/ssl/tls_server.cpp +++ b/src/ssl/tls_server.cpp @@ -1,5 +1,5 @@ /** -* TLS Server Source File +* TLS Server * (C) 2004-2008 Jack Lloyd * * Released under the terms of the Botan license @@ -87,8 +87,8 @@ void server_check_state(Handshake_Type new_msg, Handshake_State* state) */ TLS_Server::TLS_Server(RandomNumberGenerator& r, Socket& sock, const X509_Certificate& cert, - const PKCS8_PrivateKey& key, const Policy* pol) : - rng(r), writer(sock), reader(sock), policy(pol ? pol : new Policy) + const PKCS8_PrivateKey& key, const TLS_Policy* pol) : + rng(r), writer(sock), reader(sock), policy(pol ? pol : new TLS_Policy) { peer_id = sock.peer_id(); |