mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #7742 from embhorn/zd18240
Fix ParseCRL_AuthKeyIdExt setting extAuthKeyIdSet
This commit is contained in:
@ -38074,6 +38074,7 @@ static int ParseCRL_AuthKeyIdExt(const byte* input, int sz, DecodedCRL* dcrl)
|
||||
}
|
||||
|
||||
dcrl->extAuthKeyIdSet = 1;
|
||||
|
||||
/* Get the hash or hash of the hash if wrong size. */
|
||||
ret = GetHashId(input + idx, length, dcrl->extAuthKeyId,
|
||||
HashIdAlg(dcrl->signatureOID));
|
||||
@ -38099,6 +38100,8 @@ static int ParseCRL_AuthKeyIdExt(const byte* input, int sz, DecodedCRL* dcrl)
|
||||
WOLFSSL_MSG("\tinfo: OPTIONAL item 0, not available");
|
||||
}
|
||||
else {
|
||||
dcrl->extAuthKeyIdSet = 1;
|
||||
|
||||
/* Get the hash or hash of the hash if wrong size. */
|
||||
ret = GetHashId(dataASN[AUTHKEYIDASN_IDX_KEYID].data.ref.data,
|
||||
(int)dataASN[AUTHKEYIDASN_IDX_KEYID].data.ref.length,
|
||||
|
Reference in New Issue
Block a user