Skip to content

Commit 4540ed9

Browse files
authored
Merge pull request #387 from night1rider/PKCS7_Example_Fix
Fixing PKCS7 Type delclaration in example
2 parents 431046e + 599998d commit 4540ed9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/pkcs7/pkcs7.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ static int PKCS7_SignVerifyEx(WOLFTPM2_DEV* dev, int tpmDevId,
9797
int alg, enum wc_HashType hashType, const char* outFile)
9898
{
9999
int rc;
100-
PKCS7 pkcs7;
100+
wc_PKCS7 pkcs7;
101101
wc_HashAlg hash;
102102
byte hashBuf[TPM_MAX_DIGEST_SIZE];
103103
word32 hashSz;
@@ -247,7 +247,7 @@ static int PKCS7_SignVerify(WOLFTPM2_DEV* dev, int tpmDevId,
247247
int alg, enum wc_HashType hashType, const char* outFile)
248248
{
249249
int rc;
250-
PKCS7 pkcs7;
250+
wc_PKCS7 pkcs7;
251251
byte data[] = "My encoded DER cert.";
252252
byte output[MAX_PKCS7_SIZE];
253253
int outputSz;

0 commit comments

Comments
 (0)