diff --git a/src/internal.c b/src/internal.c index bdb0cee69..55072d8fe 100644 --- a/src/internal.c +++ b/src/internal.c @@ -12340,6 +12340,9 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx, } ret = 0; /* clear errors and continue */ + #if defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL) + ssl->peerVerifyRet = 0; + #endif args->verifyErr = 0; }