Skip to content

Commit

Permalink
Merge pull request #387 from night1rider/PKCS7_Example_Fix
Browse files Browse the repository at this point in the history
Fixing PKCS7 Type delclaration in example
  • Loading branch information
dgarske authored Nov 18, 2024
2 parents 431046e + 599998d commit 4540ed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/pkcs7/pkcs7.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 4540ed9

Please sign in to comment.