diff options
author | lloyd <[email protected]> | 2011-04-05 10:08:34 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-04-05 10:08:34 +0000 |
commit | d81b3d27abb1b261d2e8c6222865b1ab358595e7 (patch) | |
tree | 6baa131df00ba36414c1783a03076e91ce1e46e6 /examples/tls_client.cpp | |
parent | c84143c2cb2554213399aee6d31e09d26aece6c8 (diff) |
Remove the socket wrapper code, as the SSL interface itself
doesn't actually care. Move it to examples/socket.h
Diffstat (limited to 'examples/tls_client.cpp')
-rw-r--r-- | examples/tls_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tls_client.cpp b/examples/tls_client.cpp index 10ead20cc..9f6f6229a 100644 --- a/examples/tls_client.cpp +++ b/examples/tls_client.cpp @@ -6,7 +6,7 @@ #include <botan/init.h> #include <botan/tls_client.h> -#include <botan/unx_sock.h> +#include "socket.h" using namespace Botan; @@ -48,7 +48,7 @@ int main(int argc, char* argv[]) printf("Connecting to %s:%d...\n", host.c_str(), port); - Unix_Socket sock(argv[1], port); + Socket sock(argv[1], port); std::auto_ptr<Botan::RandomNumberGenerator> rng( Botan::RandomNumberGenerator::make_rng()); |