Merge pull request #7842 from embhorn/zd18417

Fix template DecodeSubjDirAttr to set extSubjDirAttr data
This commit is contained in:
Sean Parkinson
2024-08-07 18:29:04 +10:00
committed by GitHub

View File

@ -20804,6 +20804,11 @@ static int DecodeSubjDirAttr(const byte* input, word32 sz, DecodedCert* cert)
WOLFSSL_ENTER("DecodeSubjDirAttr"); WOLFSSL_ENTER("DecodeSubjDirAttr");
#ifdef OPENSSL_ALL
cert->extSubjDirAttrSrc = input;
cert->extSubjDirAttrSz = sz;
#endif /* OPENSSL_ALL */
CALLOC_ASNGETDATA(dataASN, subjDirAttrASN_Length, ret, cert->heap); CALLOC_ASNGETDATA(dataASN, subjDirAttrASN_Length, ret, cert->heap);
/* Strip outer SEQUENCE. */ /* Strip outer SEQUENCE. */