From 7cd9655d50f87c7ceb82254ac623c8303846934b Mon Sep 17 00:00:00 2001 From: AssemblyJohn Date: Fri, 26 Apr 2024 15:05:19 +0300 Subject: [PATCH] Fixes for OCSP data cleanup nad test updates Signed-off-by: AssemblyJohn --- lib/evse_security/evse_security.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/evse_security/evse_security.cpp b/lib/evse_security/evse_security.cpp index dcb5b7f..f42c424 100644 --- a/lib/evse_security/evse_security.cpp +++ b/lib/evse_security/evse_security.cpp @@ -1611,7 +1611,7 @@ void EvseSecurity::garbage_collect() { read_hash == ocsp_hash) { auto oscp_data_path = hash_entry.path(); - oscp_data_path.replace_extension(CERT_HASH_EXTENSION); + oscp_data_path.replace_extension(DER_EXTENSION); invalid_certificate_files.emplace(hash_entry.path()); invalid_certificate_files.emplace(oscp_data_path);