Merge pull request #9654 from embhorn/zd21038

Fix DecodeAuthKeyInternal not clearing cert->extAuthKeyIdSet
This commit is contained in:
David Garske
2026-01-14 09:19:24 -08:00
committed by GitHub

View File

@@ -21414,6 +21414,9 @@ static int DecodeAuthKeyIdInternal(const byte* input, word32 sz,
ret = GetHashId(extAuthKeyId, (int)extAuthKeyIdSz, cert->extAuthKeyId,
HashIdAlg(cert->signatureOID));
}
else {
cert->extAuthKeyIdSet = 0;
}
#ifdef WOLFSSL_AKID_NAME
if (ret == 0 && extAuthKeyIdIssuerSz > 0) {