aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorNuno Goncalves <[email protected]>2017-02-18 18:20:14 +0100
committerNuno Goncalves <[email protected]>2017-02-18 18:20:14 +0100
commitf8e7342ed24a341cf246a88a8b46dbab787c20c7 (patch)
treecc8a0134a79b31f4bc15dd73c2f13e47f5bc89af /src/cli
parent863b7ba99f2014b76e0ba2e2b256d0870301199b (diff)
CLI OCSP: fix expected OK return code
Signed-off-by: Nuno Goncalves <[email protected]>
Diffstat (limited to 'src/cli')
-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";
}