Remove a useless getter
This commit is contained in:
@@ -332,7 +332,7 @@ void TCPSocketHandler::tls_verify_cert_chain(const std::vector<Botan::X509_Certi
|
||||
Botan::Usage_Type usage, const std::string& hostname,
|
||||
const Botan::TLS::Policy& policy)
|
||||
{
|
||||
if (!this->policy.verify_certificate_info())
|
||||
if (!this->policy.verify_certificate)
|
||||
{
|
||||
log_debug("Not verifying certificate due to domain policy ");
|
||||
return;
|
||||
|
||||
@@ -49,9 +49,4 @@ bool BiboumiTLSPolicy::require_cert_revocation_info() const
|
||||
return this->req_cert_revocation_info;
|
||||
}
|
||||
|
||||
bool BiboumiTLSPolicy::verify_certificate_info() const
|
||||
{
|
||||
return this->verify_certificate;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,10 +21,9 @@ public:
|
||||
BiboumiTLSPolicy &operator=(BiboumiTLSPolicy &&) = delete;
|
||||
|
||||
bool require_cert_revocation_info() const override;
|
||||
bool verify_certificate_info() const;
|
||||
bool verify_certificate{true};
|
||||
protected:
|
||||
bool req_cert_revocation_info{true};
|
||||
bool verify_certificate{true};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user