From 23d04b3c7bf1ffc3275640866cd6f96a122056dd Mon Sep 17 00:00:00 2001 From: Xin Xu Date: Wed, 13 Nov 2024 15:55:37 +0100 Subject: [PATCH] fix: compiling error Signed-off-by: Xin Xu --- lib/ocpp/v201/charge_point.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ocpp/v201/charge_point.cpp b/lib/ocpp/v201/charge_point.cpp index aa189ab89..c879f4da1 100644 --- a/lib/ocpp/v201/charge_point.cpp +++ b/lib/ocpp/v201/charge_point.cpp @@ -3597,13 +3597,13 @@ bool ChargePoint::should_reject_certificate_install(InstallCertificateUseEnum ce switch (cert_type) { case InstallCertificateUseEnum::CSMSRootCertificate: return !this->device_model - .get_optional_value( + ->get_optional_value( ControllerComponentVariables::AllowCSMSRootCertificateInstallWhenLowSecurityProfile) .value_or(true); case InstallCertificateUseEnum::ManufacturerRootCertificate: return !this->device_model - .get_optional_value( + ->get_optional_value( ControllerComponentVariables::AllowManufacturerRootCertificateInstallWhenLowSecurityProfile) .value_or(true); default: