From 6a06a3b63bcaae73b188907aacdef14177800252 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Fri, 17 Aug 2018 11:07:54 -0600 Subject: [PATCH] add CMS CompressedData test using FirmwarePkgData --- Makefile.am | 3 ++- wolfcrypt/test/test.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 00928d2a6..57d7bba1b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 7b3f54796..73631bf54 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -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);