Skip to content

Commit

Permalink
Der --> Len. Copy paste typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
anhu committed Jun 19, 2024
1 parent 38c7327 commit 32ca92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/x509.c
Original file line number Diff line number Diff line change
Expand Up @@ -7559,7 +7559,7 @@ int wc_GeneratePreTBS(DecodedCert* cert, byte *der, int derSz) {
/* Remove the altsigval extension. */
XFREE(x->altSigValDer, x->heap, DYNAMIC_TYPE_X509_EXT);
x->altSigValDer = NULL;
x->altSigValDer = 0;
x->altSigValLen = 0;
/* Remove sigOID so it won't be encoded. */
x->sigOID = 0;
/* We now have a PreTBS. Encode it. */
Expand Down

0 comments on commit 32ca92b

Please sign in to comment.