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