aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/tls_client.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-23 22:12:53 +0000
committerlloyd <[email protected]>2010-03-23 22:12:53 +0000
commit7479e66bb43e843c067e9a45145bafc84bdd41dc (patch)
treedcbd947508ab3bd8182816677d7d0d94edbf84c6 /src/ssl/tls_client.h
parent8fda37bf5b79bf6569e1e375c48e9d74171cb141 (diff)
Make Record_Reader event driven. Callers (eg TLS_Client and
TLS_Server) are not; they instead loop blocking on the socket. Will move the event-driven behavior upwards as I go.
Diffstat (limited to 'src/ssl/tls_client.h')
-rw-r--r--src/ssl/tls_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ssl/tls_client.h b/src/ssl/tls_client.h
index 896decdf9..2439a58f0 100644
--- a/src/ssl/tls_client.h
+++ b/src/ssl/tls_client.h
@@ -60,6 +60,8 @@ class BOTAN_DLL TLS_Client : public TLS_Connection
RandomNumberGenerator& rng;
+ Socket& peer;
+
Record_Writer writer;
Record_Reader reader;
const TLS_Policy* policy;