aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-02-19 10:13:51 -0500
committerJack Lloyd <[email protected]>2017-02-19 10:13:51 -0500
commit7258a544b0488a895b45a23e65a6bd3d9b0b2fd3 (patch)
treecc8a0134a79b31f4bc15dd73c2f13e47f5bc89af
parent863b7ba99f2014b76e0ba2e2b256d0870301199b (diff)
parentf8e7342ed24a341cf246a88a8b46dbab787c20c7 (diff)
Merge GH #883 Fix return code check in OCSP command line util
-rw-r--r--src/cli/x509.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/x509.cpp b/src/cli/x509.cpp
index 7ae980d76..c1c5f6955 100644
--- a/src/cli/x509.cpp
+++ b/src/cli/x509.cpp
@@ -122,7 +122,7 @@ class OCSP_Check final : public Command
auto status = resp.status_for(issuer, subject, std::chrono::system_clock::now());
- if(status == Botan::Certificate_Status_Code::VERIFIED)
+ if(status == Botan::Certificate_Status_Code::OCSP_RESPONSE_GOOD)
{
output() << "OCSP check OK\n";
}