Fix template DecodeSubjDirAttr to set extSubjDirAttr data

This commit is contained in:
Eric Blankenhorn
2024-08-06 11:34:14 -05:00
parent 54370cc51e
commit 1c2b47d8ad

View File

@ -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. */