summaryrefslogtreecommitdiff
path: root/extra/yassl/include/cert_wrapper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extra/yassl/include/cert_wrapper.hpp')
-rw-r--r--extra/yassl/include/cert_wrapper.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/yassl/include/cert_wrapper.hpp b/extra/yassl/include/cert_wrapper.hpp
index 2381347c27e..2a214c529fd 100644
--- a/extra/yassl/include/cert_wrapper.hpp
+++ b/extra/yassl/include/cert_wrapper.hpp
@@ -83,6 +83,7 @@ class CertManager {
SignerList signers_; // decoded CA keys and names
// plus verified chained certs
bool verifyPeer_;
+ bool verifyNone_; // no error if verify fails
bool failNoCert_;
bool sendVerify_;
public:
@@ -107,10 +108,12 @@ public:
uint get_privateKeyLength() const;
bool verifyPeer() const;
+ bool verifyNone() const;
bool failNoCert() const;
bool sendVerify() const;
void setVerifyPeer();
+ void setVerifyNone();
void setFailNoCert();
void setSendVerify();
private: