add CMS CompressedData test using FirmwarePkgData

This commit is contained in:
Chris Conlon 2018-08-17 11:07:54 -06:00 committed by David Garske
parent c51cf4472e
commit 6a06a3b63b
2 changed files with 6 additions and 2 deletions

View File

@ -39,7 +39,8 @@ CLEANFILES+= cert.der \
othercert.der \
othercert.pem \
pkcs7cert.der \
pkcs7compressedData_zlib.der \
pkcs7compressedData_data_zlib.der \
pkcs7compressedData_firmwarePkgData_zlib.der \
pkcs7encryptedDataAES128CBC.der \
pkcs7encryptedDataAES192CBC.der \
pkcs7encryptedDataAES256CBC_attribs.der \

View File

@ -19329,7 +19329,10 @@ int pkcs7compressed_test(void)
const pkcs7CompressedVector testVectors[] =
{
{data, (word32)sizeof(data), DATA, "pkcs7compressedData_zlib.der"},
{data, (word32)sizeof(data), DATA,
"pkcs7compressedData_data_zlib.der"},
{data, (word32)sizeof(data), FIRMWARE_PKG_DATA,
"pkcs7compressedData_firmwarePkgData_zlib.der"},
};
testSz = sizeof(testVectors) / sizeof(pkcs7CompressedVector);