Merge pull request #345 from moisesguimaraes/remove_unnecessary_condition

remove unnecessary condition
This commit is contained in:
dgarske
2016-03-11 09:27:22 -08:00

View File

@ -4806,7 +4806,7 @@ static int DoCertificate(WOLFSSL* ssl, byte* input, word32* inOutIdx,
#endif /* HAVE_OCSP || HAVE_CRL */
#ifdef KEEP_PEER_CERT
if (fatal == 0) {
{
/* set X509 format for peer cert even if fatal */
int copyRet = CopyDecodedToX509(&ssl->peerCert, dCert);
if (copyRet == MEMORY_E)