Merge pull request #7842 from embhorn/zd18417

Fix template DecodeSubjDirAttr to set extSubjDirAttr data
pull/7847/head
Sean Parkinson 2024-08-07 18:29:04 +10:00 committed by GitHub
commit 632d9653da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

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