diff options
author | lloyd <[email protected]> | 2011-12-23 18:22:37 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-23 18:22:37 +0000 |
commit | 61d461d0a5fb63c3aee906c76b4aefe3335a7591 (patch) | |
tree | a936e50187ba7ace33c09fcf5a9119e257987f30 /doc/examples/tls_client.cpp | |
parent | 917bf37104eb039a97ef989306954dd8bc05f400 (diff) |
Centralize a lot of the handshaking and message parsing in TLS_Channel
Also delete the obsolete/never worked CMS examples
Diffstat (limited to 'doc/examples/tls_client.cpp')
-rw-r--r-- | doc/examples/tls_client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/tls_client.cpp b/doc/examples/tls_client.cpp index a51febfcf..ee224e9eb 100644 --- a/doc/examples/tls_client.cpp +++ b/doc/examples/tls_client.cpp @@ -41,7 +41,7 @@ class HTTPS_Client quit_reading = false; - while(!client.handshake_complete() || desired) + while(!client.is_active() || desired) { const size_t socket_got = socket.read(&socket_buf[0], socket_buf.size()); //printf("Got %d bytes from socket\n", socket_got); |