aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenĂ© Meusel <[email protected]>2019-05-28 09:42:15 +0200
committerRenĂ© Meusel <[email protected]>2019-05-28 09:42:15 +0200
commit1aa7e27a4cb8ae9b71271869e690787e39cc8396 (patch)
treeac72fb49dd155bc00d99b040c58c4a07deb0e719 /src
parent2780d052b592e7ce0443a4bff9d1b649df80f800 (diff)
add 'OCSP_IS_TOO_OLD' to Botan::to_string()
Diffstat (limited to 'src')
-rw-r--r--src/lib/x509/cert_status.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/x509/cert_status.cpp b/src/lib/x509/cert_status.cpp
index 79bcd1b07..4efd49edf 100644
--- a/src/lib/x509/cert_status.cpp
+++ b/src/lib/x509/cert_status.cpp
@@ -46,6 +46,8 @@ const char* to_string(Certificate_Status_Code code)
return "OCSP is not yet valid";
case Certificate_Status_Code::OCSP_HAS_EXPIRED:
return "OCSP response has expired";
+ case Certificate_Status_Code::OCSP_IS_TOO_OLD:
+ return "OCSP response is too old";
case Certificate_Status_Code::CRL_NOT_YET_VALID:
return "CRL response is not yet valid";
case Certificate_Status_Code::CRL_HAS_EXPIRED: