From 6dad788017c9e88700c510e0632570823684dd32 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Fri, 25 Nov 2016 15:33:47 -0500 Subject: Fix TLS tests wrt validation changes Create empty CRLs so that revocation information is available. --- src/lib/x509/x509path.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/x509/x509path.cpp') 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>& 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; } -- cgit v1.2.3