diff options
author | lloyd <[email protected]> | 2014-10-31 11:31:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-10-31 11:31:27 +0000 |
commit | 083f699c30d584ac59453139e4f2e03d1fde0545 (patch) | |
tree | d9cc192ace03a9a0ef1c0e1705d5468ff3eb3489 /src/lib/cert/x509/certstor.h | |
parent | af0cc3c7308d0f5320e82394590b0ca93f43c4d4 (diff) |
Fix various warnings from VC++ 2014 and add missing include
Diffstat (limited to 'src/lib/cert/x509/certstor.h')
-rw-r--r-- | src/lib/cert/x509/certstor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cert/x509/certstor.h b/src/lib/cert/x509/certstor.h index 8c9fd9610..79a33f75d 100644 --- a/src/lib/cert/x509/certstor.h +++ b/src/lib/cert/x509/certstor.h @@ -31,7 +31,7 @@ class BOTAN_DLL Certificate_Store bool certificate_known(const X509_Certificate& cert) const { - return find_cert(cert.subject_dn(), cert.subject_key_id()); + return find_cert(cert.subject_dn(), cert.subject_key_id()) != nullptr; } // remove this (used by TLS::Server) |