aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509/x509path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cert/x509/x509path.cpp')
-rw-r--r--src/cert/x509/x509path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cert/x509/x509path.cpp b/src/cert/x509/x509path.cpp
index 7d6108ffa..f8d0b770e 100644
--- a/src/cert/x509/x509path.cpp
+++ b/src/cert/x509/x509path.cpp
@@ -40,7 +40,7 @@ X509_Certificate find_issuing_cert(const X509_Certificate& cert,
std::vector<X509_Certificate> certs =
certstores[i]->find_cert_by_subject_and_key_id(issuer_dn, auth_key_id);
- if(certs.size() == 0)
+ if(certs.empty())
continue;
if(certs.size() > 1)