forked from wolfSSL/wolfssl
Reported in ZD13631
`ssl->peerVerifyRet` wasn't being cleared when retrying with an alternative cert chain
This commit is contained in:
@@ -12340,6 +12340,9 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ret = 0; /* clear errors and continue */
|
ret = 0; /* clear errors and continue */
|
||||||
|
#if defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)
|
||||||
|
ssl->peerVerifyRet = 0;
|
||||||
|
#endif
|
||||||
args->verifyErr = 0;
|
args->verifyErr = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user