aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ocsp.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-07-23 08:22:42 -0400
committerJack Lloyd <[email protected]>2019-07-23 08:22:42 -0400
commita358c808c6add6111285b86e2784945d3cad26f8 (patch)
treee6d023f6620cc92edb2f425b71a791643f25da99 /src/tests/test_ocsp.cpp
parentee65e1fe8ea82ba4afc74f2167162a5d96855af5 (diff)
Fix "OSCP" typo in OCSP code.
GH #2048
Diffstat (limited to 'src/tests/test_ocsp.cpp')
-rw-r--r--src/tests/test_ocsp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_ocsp.cpp b/src/tests/test_ocsp.cpp
index 5c28c128d..f3afb0b41 100644
--- a/src/tests/test_ocsp.cpp
+++ b/src/tests/test_ocsp.cpp
@@ -289,7 +289,7 @@ class OCSP_Tests final : public Test
const std::vector<std::shared_ptr<const Botan::X509_Certificate>> cert_path = { ee, ca, trust_root };
std::shared_ptr<const Botan::OCSP::Response> ocsp =
- std::make_shared<const Botan::OCSP::Response>(Botan::Certificate_Status_Code::OSCP_NO_REVOCATION_URL);
+ std::make_shared<const Botan::OCSP::Response>(Botan::Certificate_Status_Code::OCSP_NO_REVOCATION_URL);
Botan::Certificate_Store_In_Memory certstore;
certstore.add_certificate(trust_root);
@@ -302,7 +302,7 @@ class OCSP_Tests final : public Test
{
if(result.test_eq("Expected size of ocsp_status[0]", ocsp_status[0].size(), 1))
{
- result.confirm("Status warning", ocsp_status[0].count(Botan::Certificate_Status_Code::OSCP_NO_REVOCATION_URL));
+ result.confirm("Status warning", ocsp_status[0].count(Botan::Certificate_Status_Code::OCSP_NO_REVOCATION_URL));
}
}