diff options
author | lloyd <[email protected]> | 2013-12-21 00:46:37 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-12-21 00:46:37 +0000 |
commit | f9bf642e0c810e584ce4510dfa2db59b6de03630 (patch) | |
tree | 961b18fa5231eea8da6c202fa180bc4a09649803 /doc | |
parent | 59966d469310987af228bc0a0f3c8b4b7770a4b2 (diff) |
Fix TLS-SRP example
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/credentials.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/credentials.h b/doc/examples/credentials.h index c88d98bfd..c2b0fdaed 100644 --- a/doc/examples/credentials.h +++ b/doc/examples/credentials.h @@ -84,7 +84,7 @@ class Credentials_Manager_Simple : public Botan::Credentials_Manager const std::string& hostname, const std::string& identifier) { - if(type == "tls-client" && hostname == "localhost" && identifier == "user") + if(type == "tls-client" && hostname == "srp-host" && identifier == "user") return "password"; return ""; |