Skip to content

Commit a06756e

Browse files
committed
Updated enumhelpers for OEMRootCertificate
1 parent de34b20 commit a06756e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/messages/Iso15118InstallCertificate.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ namespace types
2929
/** @brief Helper to convert a enum class InstallCertificateUseEnumType enum to string */
3030
const EnumToStringFromString<InstallCertificateUseEnumType> InstallCertificateUseEnumTypeHelper = {
3131
{InstallCertificateUseEnumType::MORootCertificate, "MORootCertificate"},
32-
{InstallCertificateUseEnumType::V2GRootCertificate, "V2GRootCertificate"}};
32+
{InstallCertificateUseEnumType::V2GRootCertificate, "V2GRootCertificate"},
33+
{InstallCertificateUseEnumType::OEMRootCertificate, "OEMRootCertificate"}};
3334

3435
/** @brief Helper to convert a enum class InstallCertificateStatusEnumType enum to string */
3536
const EnumToStringFromString<InstallCertificateStatusEnumType> InstallCertificateStatusEnumTypeHelper = {

src/messages/types/CertificateHashDataChainTypeConverter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ namespace types
3232
const EnumToStringFromString<GetCertificateIdUseEnumType> GetCertificateIdUseEnumTypeHelper = {
3333
{GetCertificateIdUseEnumType::MORootCertificate, "MORootCertificate"},
3434
{GetCertificateIdUseEnumType::V2GCertificateChain, "V2GCertificateChain"},
35-
{GetCertificateIdUseEnumType::V2GRootCertificate, "V2GRootCertificate"}};
36-
35+
{GetCertificateIdUseEnumType::V2GRootCertificate, "V2GRootCertificate"},
36+
{GetCertificateIdUseEnumType::OEMRootCertificate, "OEMRootCertificate"}};
3737
} // namespace types
3838

3939
namespace messages

0 commit comments

Comments
 (0)