fix jenkins ec 56

This commit is contained in:
toddouska
2015-11-03 11:30:56 -08:00
parent 37f4fbc000
commit 8d4d9ebe12

View File

@ -8673,7 +8673,7 @@ static int DecodeBasicOcspResponse(byte* source, word32* ioIndex,
int length;
word32 idx = *ioIndex;
word32 end_index;
int ret;
int ret = -1;
WOLFSSL_ENTER("DecodeBasicOcspResponse");
@ -8733,10 +8733,11 @@ static int DecodeBasicOcspResponse(byte* source, word32* ioIndex,
Signer* ca = GetCA(cm, resp->issuerHash);
if (ca)
{
ret = ConfirmSignature(resp->response, resp->responseSz,
ca->publicKey, ca->pubKeySize, ca->keyOID,
resp->sig, resp->sigSz, resp->sigOID, NULL);
}
if (!ca || ret == 0)
{
WOLFSSL_MSG("\tOCSP Confirm signature failed");