Fixing PKCS7 Type delclaration

pull/387/head
msi-debian 2024-11-18 10:18:05 -07:00
parent 431046ebf4
commit 599998d827
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ static int PKCS7_SignVerifyEx(WOLFTPM2_DEV* dev, int tpmDevId,
int alg, enum wc_HashType hashType, const char* outFile)
{
int rc;
PKCS7 pkcs7;
wc_PKCS7 pkcs7;
wc_HashAlg hash;
byte hashBuf[TPM_MAX_DIGEST_SIZE];
word32 hashSz;
@ -247,7 +247,7 @@ static int PKCS7_SignVerify(WOLFTPM2_DEV* dev, int tpmDevId,
int alg, enum wc_HashType hashType, const char* outFile)
{
int rc;
PKCS7 pkcs7;
wc_PKCS7 pkcs7;
byte data[] = "My encoded DER cert.";
byte output[MAX_PKCS7_SIZE];
int outputSz;