Skip to content

Commit 32ca92b

Browse files
committed
Der --> Len. Copy paste typo.
1 parent 38c7327 commit 32ca92b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/x509.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7559,7 +7559,7 @@ int wc_GeneratePreTBS(DecodedCert* cert, byte *der, int derSz) {
75597559
/* Remove the altsigval extension. */
75607560
XFREE(x->altSigValDer, x->heap, DYNAMIC_TYPE_X509_EXT);
75617561
x->altSigValDer = NULL;
7562-
x->altSigValDer = 0;
7562+
x->altSigValLen = 0;
75637563
/* Remove sigOID so it won't be encoded. */
75647564
x->sigOID = 0;
75657565
/* We now have a PreTBS. Encode it. */

0 commit comments

Comments
 (0)