aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/tls_server.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-16 18:21:10 +0000
committerlloyd <[email protected]>2010-02-16 18:21:10 +0000
commite30f46ad200bd724caf72ccbf74bc416e1612b47 (patch)
tree632a4060979b2459db16ce89d0ed3ae181885d1c /src/ssl/tls_server.cpp
parent508ccf7deb5ae8acb05d3514067bf3d0cc504a62 (diff)
Rename Policy to TLS_Policy.
Put TLS_ in all the header guards to reduce the odds of conflicts.
Diffstat (limited to 'src/ssl/tls_server.cpp')
-rw-r--r--src/ssl/tls_server.cpp6
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();