mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #7842 from embhorn/zd18417
Fix template DecodeSubjDirAttr to set extSubjDirAttr data
This commit is contained in:
@ -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. */
|
||||||
|
Reference in New Issue
Block a user