Skip to content

Commit 1c2b47d

Browse files
committed
Fix template DecodeSubjDirAttr to set extSubjDirAttr data
1 parent 54370cc commit 1c2b47d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

wolfcrypt/src/asn.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20804,6 +20804,11 @@ static int DecodeSubjDirAttr(const byte* input, word32 sz, DecodedCert* cert)
2080420804

2080520805
WOLFSSL_ENTER("DecodeSubjDirAttr");
2080620806

20807+
#ifdef OPENSSL_ALL
20808+
cert->extSubjDirAttrSrc = input;
20809+
cert->extSubjDirAttrSz = sz;
20810+
#endif /* OPENSSL_ALL */
20811+
2080720812
CALLOC_ASNGETDATA(dataASN, subjDirAttrASN_Length, ret, cert->heap);
2080820813

2080920814
/* Strip outer SEQUENCE. */

0 commit comments

Comments
 (0)