aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-11-29 22:50:03 +0000
committerlloyd <[email protected]>2013-11-29 22:50:03 +0000
commit9ee17c62aba097b3b682d1ec217c31fdf8f2dedb (patch)
tree85cb25107dec4272b98e3c86651201afb4e02f40 /checks
parent41cc764815c5cdf1902e923b7bea3f3eec288c31 (diff)
First pass at automatic OCSP checks
Diffstat (limited to 'checks')
-rw-r--r--checks/x509.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/x509.cpp b/checks/x509.cpp
index 46b748da6..77d4e803f 100644
--- a/checks/x509.cpp
+++ b/checks/x509.cpp
@@ -219,12 +219,12 @@ void do_x509_tests(RandomNumberGenerator& rng)
store.add_crl(crl2);
result_u1 = x509_path_validate(user1_cert, restrictions, store);
- if(result_u1.result() != Path_Validation_Result::CERT_IS_REVOKED)
+ if(result_u1.result() != Certificate_Status_Code::CERT_IS_REVOKED)
std::cout << "FAILED: User cert #1 was not revoked - "
<< result_u1.result_string() << std::endl;
result_u2 = x509_path_validate(user2_cert, restrictions, store);
- if(result_u2.result() != Path_Validation_Result::CERT_IS_REVOKED)
+ if(result_u2.result() != Certificate_Status_Code::CERT_IS_REVOKED)
std::cout << "FAILED: User cert #2 was not revoked - "
<< result_u2.result_string() << std::endl;