aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/tls_server.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-04-29 17:11:56 +0000
committerlloyd <[email protected]>2011-04-29 17:11:56 +0000
commit1a2245e2dda5c2cda340ded685d1c72d9fdff9f2 (patch)
tree71eb7140ed60545dc20d1751900169722a804742 /doc/examples/tls_server.cpp
parent93b5927837b75d9660084e83adf04c77a57fe4b3 (diff)
A few more WinSock fixes for TLS examples
Diffstat (limited to 'doc/examples/tls_server.cpp')
-rw-r--r--doc/examples/tls_server.cpp4
1 files changed, 2 insertions, 2 deletions
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();