aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/cert_ver.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-23 15:30:29 +0000
committerlloyd <[email protected]>2012-01-23 15:30:29 +0000
commita445f7f4a1089fc034c35c500e1572eb9518f44f (patch)
tree3231b324a290cb9c67e9a0512a40acad8fa024a1 /src/tls/cert_ver.cpp
parent8bba8bab6077ee184c102d6634b288e7dd32b1dc (diff)
Since this branch is hugely API breaking already, go ahead and put
everything into a new namespace (Botan::TLS), removing the TLS_ prefixes on everything.
Diffstat (limited to 'src/tls/cert_ver.cpp')
-rw-r--r--src/tls/cert_ver.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tls/cert_ver.cpp b/src/tls/cert_ver.cpp
index f11ae4dcc..923cdbb42 100644
--- a/src/tls/cert_ver.cpp
+++ b/src/tls/cert_ver.cpp
@@ -13,11 +13,13 @@
namespace Botan {
+namespace TLS {
+
/*
* Create a new Certificate Verify message
*/
Certificate_Verify::Certificate_Verify(Record_Writer& writer,
- TLS_Handshake_State* state,
+ Handshake_State* state,
RandomNumberGenerator& rng,
const Private_Key* priv_key)
{
@@ -88,7 +90,7 @@ MemoryVector<byte> Certificate_Verify::serialize() const
* Verify a Certificate Verify message
*/
bool Certificate_Verify::verify(const X509_Certificate& cert,
- TLS_Handshake_State* state)
+ Handshake_State* state)
{
std::auto_ptr<Public_Key> key(cert.subject_public_key());
@@ -110,3 +112,5 @@ bool Certificate_Verify::verify(const X509_Certificate& cert,
}
}
+
+}