diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-04-24 18:50:22 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-04-24 20:08:54 (GMT) |
commit | 856f970d14c5c32b80fc5ea359d4e567b51578a0 (patch) | |
tree | 4e1d5574d94f90a6caf6e601b410597fb7184f7f /Swiften/TLS/Schannel/SchannelContextFactory.h | |
parent | e33b7a309e0424450ab00bc6180df95c6c049195 (diff) | |
download | swift-contrib-856f970d14c5c32b80fc5ea359d4e567b51578a0.zip swift-contrib-856f970d14c5c32b80fc5ea359d4e567b51578a0.tar.bz2 |
Re-enable revocation check.
Added a method on TLSContextFactory to disable revocation checks if
wanted.
Diffstat (limited to 'Swiften/TLS/Schannel/SchannelContextFactory.h')
-rw-r--r-- | Swiften/TLS/Schannel/SchannelContextFactory.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Swiften/TLS/Schannel/SchannelContextFactory.h b/Swiften/TLS/Schannel/SchannelContextFactory.h index 43c39a9..9dc835c 100644 --- a/Swiften/TLS/Schannel/SchannelContextFactory.h +++ b/Swiften/TLS/Schannel/SchannelContextFactory.h @@ -11,7 +11,14 @@ namespace Swift { class SchannelContextFactory : public TLSContextFactory { public: + SchannelContextFactory(); + bool canCreate() const; virtual TLSContext* createTLSContext(); + + virtual void setCheckCertificateRevocation(bool b); + + public: + bool checkCertificateRevocation; }; } |