diff options
author | lloyd <[email protected]> | 2011-12-31 03:26:57 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-31 03:26:57 +0000 |
commit | 52b9356cec6c5ad9a5d00a8ecbbad10a672787e8 (patch) | |
tree | db360c3b39e550e24ad143c09ca087484d5cfd8d /src/tls/tls_client.cpp | |
parent | 074ea8fdee34a668c57b19b474468a7e4d581567 (diff) |
Some basic infrastructure pieces for SRP (policy, etc)
Diffstat (limited to 'src/tls/tls_client.cpp')
-rw-r--r-- | src/tls/tls_client.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/tls/tls_client.cpp b/src/tls/tls_client.cpp index 9942c2d44..1d9554ee8 100644 --- a/src/tls/tls_client.cpp +++ b/src/tls/tls_client.cpp @@ -13,8 +13,6 @@ #include <botan/dsa.h> #include <botan/dh.h> -#include <stdio.h> - namespace Botan { /* @@ -27,7 +25,8 @@ TLS_Client::TLS_Client(std::tr1::function<void (const byte[], size_t)> output_fn const TLS_Policy& policy, RandomNumberGenerator& rng, const std::string& hostname, - const std::string& srp_identifier) : + const std::string& srp_identifier, + const std::string& srp_password) : TLS_Channel(output_fn, proc_fn, handshake_fn), policy(policy), rng(rng), @@ -176,8 +175,8 @@ void TLS_Client::process_handshake_msg(Handshake_Type type, // successful resumption /* - In this case, we offered the original session and the server - must resume with it + * In this case, we offered the original session and the server + * must resume with it */ if(state->server_hello->version() != state->client_hello->version()) throw TLS_Exception(HANDSHAKE_FAILURE, |