ext/ssl.h in eventmachine-le-1.1.2 vs ext/ssl.h in eventmachine-le-1.1.3

- old
+ new

@@ -31,11 +31,11 @@ ******************/ class SslContext_t { public: - SslContext_t (bool is_server, const string &privkeyfile, const string &certchainfile); + SslContext_t (bool is_server, const string &privkeyfile, const string &certchainfile, bool use_tls); virtual ~SslContext_t(); private: static bool bLibraryInitialized; @@ -55,11 +55,11 @@ **************/ class SslBox_t { public: - SslBox_t (bool is_server, const string &privkeyfile, const string &certchainfile, bool verify_peer, const unsigned long binding); + SslBox_t (bool is_server, const string &privkeyfile, const string &certchainfile, bool verify_peer, bool use_tls, const unsigned long binding); virtual ~SslBox_t(); int PutPlaintext (const char*, int); int GetPlaintext (char*, int); @@ -76,9 +76,10 @@ SslContext_t *Context; bool bIsServer; bool bHandshakeCompleted; bool bVerifyPeer; + bool bUseTls; SSL *pSSL; BIO *pbioRead; BIO *pbioWrite; PageList OutboundQ;