aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/x509/x509path.cpp')
-rw-r--r--src/lib/x509/x509path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/x509/x509path.cpp b/src/lib/x509/x509path.cpp
index 8a34ee4db..beda83eed 100644
--- a/src/lib/x509/x509path.cpp
+++ b/src/lib/x509/x509path.cpp
@@ -227,10 +227,10 @@ PKIX::check_crl(const std::vector<std::shared_ptr<const X509_Certificate>>& cert
for(size_t i = 0; i != cert_path.size(); ++i)
{
- BOTAN_ASSERT(cert_path[i] != nullptr, "Not null");
+ BOTAN_ASSERT_NONNULL(cert_path[i]);
for(size_t c = 0; c != certstores.size(); ++c)
{
- crls[i] = certstores[c]->find_crl_for(*cert_path.at(i));
+ crls[i] = certstores[c]->find_crl_for(*cert_path[i]);
if(crls[i])
break;
}