aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/hello.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/hello.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/hello.cpp')
-rw-r--r--src/ssl/hello.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ssl/hello.cpp b/src/ssl/hello.cpp
index 4f7676bb3..c3e89c6cf 100644
--- a/src/ssl/hello.cpp
+++ b/src/ssl/hello.cpp
@@ -63,7 +63,7 @@ void Hello_Request::deserialize(const MemoryRegion<byte>& buf)
* Create a new Client Hello message
*/
Client_Hello::Client_Hello(RandomNumberGenerator& rng,
- Record_Writer& writer, const Policy* policy,
+ Record_Writer& writer, const TLS_Policy* policy,
HandshakeHash& hash)
{
c_random.resize(32);
@@ -166,7 +166,7 @@ bool Client_Hello::offered_suite(u16bit ciphersuite) const
* Create a new Server Hello message
*/
Server_Hello::Server_Hello(RandomNumberGenerator& rng,
- Record_Writer& writer, const Policy* policy,
+ Record_Writer& writer, const TLS_Policy* policy,
const std::vector<X509_Certificate>& certs,
const Client_Hello& c_hello, Version_Code ver,
HandshakeHash& hash)