aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/cert_req.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_req.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_req.cpp')
-rw-r--r--src/tls/cert_req.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/tls/cert_req.cpp b/src/tls/cert_req.cpp
index 7fbe2a809..d5a73f64e 100644
--- a/src/tls/cert_req.cpp
+++ b/src/tls/cert_req.cpp
@@ -17,12 +17,14 @@
namespace Botan {
+namespace TLS {
+
/**
* Create a new Certificate Request message
*/
Certificate_Req::Certificate_Req(Record_Writer& writer,
- TLS_Handshake_Hash& hash,
- const TLS_Policy& policy,
+ Handshake_Hash& hash,
+ const Policy& policy,
const std::vector<X509_Certificate>& ca_certs,
Version_Code version)
{
@@ -125,7 +127,7 @@ MemoryVector<byte> Certificate_Req::serialize() const
* Create a new Certificate message
*/
Certificate::Certificate(Record_Writer& writer,
- TLS_Handshake_Hash& hash,
+ Handshake_Hash& hash,
const std::vector<X509_Certificate>& cert_list)
{
certs = cert_list;
@@ -190,3 +192,5 @@ MemoryVector<byte> Certificate::serialize() const
}
}
+
+}