diff --git a/libwvdrmengine/oemcrypto/test/oemcrypto_provisioning_test.cpp b/libwvdrmengine/oemcrypto/test/oemcrypto_provisioning_test.cpp index 7047d8c6..5b0eb16c 100644 --- a/libwvdrmengine/oemcrypto/test/oemcrypto_provisioning_test.cpp +++ b/libwvdrmengine/oemcrypto/test/oemcrypto_provisioning_test.cpp @@ -5,6 +5,7 @@ #include "oemcrypto_provisioning_test.h" +#include "bcc_validator.h" #include "log.h" #include "platform.h" #include "test_sleep.h" @@ -232,6 +233,9 @@ TEST_F(OEMCryptoProv40Test, GetBootCertificateChainSuccess) { additional_signature.data(), &additional_signature_size), OEMCrypto_SUCCESS); + util::BccValidator validator; + EXPECT_EQ(util::CborMessageStatus::kCborParseOk, validator.Parse(bcc)); + EXPECT_EQ(util::CborMessageStatus::kCborValidateOk, validator.Validate()); } // Verifies that short buffer error returns when the buffer is short.