From 1a2245e2dda5c2cda340ded685d1c72d9fdff9f2 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 29 Apr 2011 17:11:56 +0000 Subject: A few more WinSock fixes for TLS examples --- doc/examples/tls_server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/examples/tls_server.cpp') diff --git a/doc/examples/tls_server.cpp b/doc/examples/tls_server.cpp index 0c68ead3d..153b26d04 100644 --- a/doc/examples/tls_server.cpp +++ b/doc/examples/tls_server.cpp @@ -82,12 +82,12 @@ int main(int argc, char* argv[]) printf("Writing some text\n"); char msg[] = "Foo\nBar\nBaz\nQuux\n"; - tls.write((const byte*)msg, strlen(msg)); + tls.write((const Botan::byte*)msg, strlen(msg)); printf("Now trying a read...\n"); char buf[1024] = { 0 }; - u32bit got = tls.read((byte*)buf, sizeof(buf)-1); + u32bit got = tls.read((Botan::byte*)buf, sizeof(buf)-1); printf("%d: '%s'\n", got, buf); tls.close(); -- cgit v1.2.3