Fix for WOLFSSL_ALT_CERT_CHAINS incorrectly failing on success case.

This commit is contained in:
David Garske
2020-05-18 11:27:16 -07:00
parent 21e0f863b9
commit 0ef5a3d00e

View File

@ -10954,7 +10954,8 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx,
ssl->options.usingAltCertChain = 1;
}
ret = 0; /* clear error and continue */
ret = 0; /* clear errors and continue */
args->verifyErr = 0;
}
/* do not add to certificate manager */