Skip to content

Commit

Permalink
Merge pull request wolfSSL#7842 from embhorn/zd18417
Browse files Browse the repository at this point in the history
Fix template DecodeSubjDirAttr to set extSubjDirAttr data
  • Loading branch information
SparkiDev authored Aug 7, 2024
2 parents 18aa2b8 + 1c2b47d commit 632d965
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 632d965

Please sign in to comment.