From a1176e7f4d010575aa698c00c2d9ac91ce7fa050 Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Sun, 17 Sep 2023 23:34:14 -0700 Subject: [PATCH] https://telecominfraproject.atlassian.net/browse/WIFI-7831 Signed-off-by: stephb9959 --- src/RESTAPI/RESTAPI_openroaming_orion_acct_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RESTAPI/RESTAPI_openroaming_orion_acct_handler.cpp b/src/RESTAPI/RESTAPI_openroaming_orion_acct_handler.cpp index b985f1a..be839ad 100644 --- a/src/RESTAPI/RESTAPI_openroaming_orion_acct_handler.cpp +++ b/src/RESTAPI/RESTAPI_openroaming_orion_acct_handler.cpp @@ -52,7 +52,7 @@ namespace OpenWifi { return BadRequest(RESTAPI::Errors::MissingOrInvalidParameters); } - if( !Utils::VerifyRSAKey(NewObject.privateKey) || + if( !Utils::VerifyECKey(NewObject.privateKey) || !Utils::ValidX509Certificate(NewObject.certificate) || !Utils::ValidX509Certificate(NewObject.cacerts)) { return BadRequest(RESTAPI::Errors::NotAValidECKey);