Skip to content

Commit

Permalink
Fix template DecodeSubjDirAttr to set extSubjDirAttr data
Browse files Browse the repository at this point in the history
  • Loading branch information
embhorn committed Aug 6, 2024
1 parent 54370cc commit 1c2b47d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wolfcrypt/src/asn.c
Original file line number Diff line number Diff line change
Expand Up @@ -20804,6 +20804,11 @@ static int DecodeSubjDirAttr(const byte* input, word32 sz, DecodedCert* cert)

WOLFSSL_ENTER("DecodeSubjDirAttr");

#ifdef OPENSSL_ALL
cert->extSubjDirAttrSrc = input;
cert->extSubjDirAttrSz = sz;
#endif /* OPENSSL_ALL */

CALLOC_ASNGETDATA(dataASN, subjDirAttrASN_Length, ret, cert->heap);

/* Strip outer SEQUENCE. */
Expand Down

0 comments on commit 1c2b47d

Please sign in to comment.