diff options
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"); |