aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/msg_cert_req.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/msg_cert_req.cpp')
-rw-r--r--src/lib/tls/msg_cert_req.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/tls/msg_cert_req.cpp b/src/lib/tls/msg_cert_req.cpp
index 569a5aa63..4fd528148 100644
--- a/src/lib/tls/msg_cert_req.cpp
+++ b/src/lib/tls/msg_cert_req.cpp
@@ -1,7 +1,6 @@
/*
* Certificate Request Message
* (C) 2004-2006,2012 Jack Lloyd
-* 2016 Matthias Gierlings
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
@@ -52,7 +51,8 @@ byte cert_type_name_to_code(const std::string& name)
/**
* Create a new Certificate Request message
*/
-Certificate_Req::Certificate_Req(Handshake_Info& hs_info,
+Certificate_Req::Certificate_Req(Handshake_IO& io,
+ Handshake_Hash& hash,
const Policy& policy,
const std::vector<X509_DN>& ca_certs,
Protocol_Version version) :
@@ -69,7 +69,7 @@ Certificate_Req::Certificate_Req(Handshake_Info& hs_info,
m_supported_algos.push_back(std::make_pair(hashes[i], sigs[j]));
}
- hs_info.get_hash().update(hs_info.get_io().send(*this));
+ hash.update(io.send(*this));
}
/**