aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/credentials.h2
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 "";