Skip to content

Commit 632d965

Browse files
authored
Merge pull request #7842 from embhorn/zd18417
Fix template DecodeSubjDirAttr to set extSubjDirAttr data
2 parents 18aa2b8 + 1c2b47d commit 632d965

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)