aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509path.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-25 15:33:47 -0500
committerJack Lloyd <[email protected]>2016-11-25 15:33:47 -0500
commit6dad788017c9e88700c510e0632570823684dd32 (patch)
tree45adb0031acc603616c99862d3e51fde29ece5c7 /src/lib/x509/x509path.cpp
parentc5bd65b848c11a33da47776da16374b25e585466 (diff)
Fix TLS tests wrt validation changes
Create empty CRLs so that revocation information is available.
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;
}