diff --git a/rfcMgr/mtlsUtils.cpp b/rfcMgr/mtlsUtils.cpp index 9d30fc81..2963c066 100644 --- a/rfcMgr/mtlsUtils.cpp +++ b/rfcMgr/mtlsUtils.cpp @@ -79,6 +79,8 @@ MtlsAuthStatus getMtlscert(MtlsAuth_t *sec, rdkcertselector_h* pthisCertSel) { strncpy(sec->key_pas, mtlsbuff, sizeof(sec->key_pas) - 1); sec->key_pas[sizeof(sec->key_pas) - 1] = '\0'; * */ + (void)sec; + (void)pthisCertSel; return MTLS_CERT_FETCH_SUCCESS; } #else @@ -96,6 +98,7 @@ int getMtlscert(MtlsAuth_t *sec) { sec->key_pas[sizeof(sec->key_pas) - 1] = '\0'; */ /* TODO: RDKE-419: temporary change until RDKE-419 gets proper solution. */ + (void)sec; return MTLS_FAILURE; } #endif diff --git a/rfcMgr/rfc_xconf_handler.cpp b/rfcMgr/rfc_xconf_handler.cpp index eb62e8b6..65ccd018 100644 --- a/rfcMgr/rfc_xconf_handler.cpp +++ b/rfcMgr/rfc_xconf_handler.cpp @@ -41,7 +41,11 @@ extern "C" { #include #include #include - + +#ifndef MTLS_FAILURE +#define MTLS_FAILURE -1 +#endif + int RuntimeFeatureControlProcessor:: InitializeRuntimeFeatureControlProcessor(void) { std::string rfc_file;