diff options
author | lloyd <[email protected]> | 2010-10-13 16:10:34 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 16:10:34 +0000 |
commit | a142500346e9bef5c4b0905103eac9a494d6822e (patch) | |
tree | 6bdee25d85d7071f927caa5d4ffb251f085e02a8 /doc/examples/tls_client.cpp | |
parent | 18d3acffbe2324a90c505cf23ff17c1392c3be4d (diff) |
Fix examples
Diffstat (limited to 'doc/examples/tls_client.cpp')
-rw-r--r-- | doc/examples/tls_client.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/examples/tls_client.cpp b/doc/examples/tls_client.cpp index 26e93dd2f..c17ffe4da 100644 --- a/doc/examples/tls_client.cpp +++ b/doc/examples/tls_client.cpp @@ -37,7 +37,9 @@ int main(int argc, char* argv[]) std::auto_ptr<Botan::RandomNumberGenerator> rng( Botan::RandomNumberGenerator::make_rng()); - TLS_Client tls(*rng, sock); + TLS_Policy policy; + + TLS_Client tls(policy, *rng, sock); printf("Handshake extablished...\n"); |