mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #712 from moisesguimaraes/fixes-ocsp-lookup
fixes CA matching when using NO_SKIDpull/723/head
commit
4d83ef1c23
|
@ -9677,7 +9677,13 @@ static int DecodeBasicOcspResponse(byte* source, word32* ioIndex,
|
|||
}
|
||||
}
|
||||
else {
|
||||
Signer* ca = GetCA(cm, resp->issuerKeyHash);
|
||||
Signer* ca = NULL;
|
||||
|
||||
#ifndef NO_SKID
|
||||
ca = GetCA(cm, resp->issuerKeyHash);
|
||||
#else
|
||||
ca = GetCA(cm, resp->issuerHash);
|
||||
#endif
|
||||
|
||||
if (!ca || !ConfirmSignature(resp->response, resp->responseSz,
|
||||
ca->publicKey, ca->pubKeySize, ca->keyOID,
|
||||
|
|
Loading…
Reference in New Issue