ext/ed.h in eventmachine-le-1.1.2 vs ext/ed.h in eventmachine-le-1.1.3
- old
+ new
@@ -68,11 +68,11 @@
virtual bool GetSockname (struct sockaddr_storage*, socklen_t *len) {return false;}
virtual bool GetSubprocessPid (pid_t*) {return false;}
virtual void StartTls() {}
- virtual void SetTlsParms (const char *privkey_filename, const char *certchain_filename, bool verify_peer) {}
+ virtual void SetTlsParms (const char *privkey_filename, const char *certchain_filename, bool verify_peer, bool use_tls) {}
#ifdef WITH_SSL
virtual X509 *GetPeerCert() {return NULL;}
#endif
@@ -193,11 +193,11 @@
// Do we have any data to write? This is used by ShouldDelete.
virtual int GetOutboundDataSize() {return OutboundDataSize;}
virtual void StartTls();
- virtual void SetTlsParms (const char *privkey_filename, const char *certchain_filename, bool verify_peer);
+ virtual void SetTlsParms (const char *privkey_filename, const char *certchain_filename, bool verify_peer, bool use_tls);
#ifdef WITH_SSL
virtual X509 *GetPeerCert();
virtual bool VerifySslPeer(const char*);
virtual void AcceptSslPeer();
@@ -239,9 +239,10 @@
SslBox_t *SslBox;
std::string CertChainFilename;
std::string PrivateKeyFilename;
bool bHandshakeSignaled;
bool bSslVerifyPeer;
+ bool bSslUseTls;
bool bSslPeerAccepted;
#endif
#ifdef HAVE_KQUEUE
bool bGotExtraKqueueEvent;