forked from wolfSSL/wolfssl
Merge pull request #345 from moisesguimaraes/remove_unnecessary_condition
remove unnecessary condition
This commit is contained in:
@ -4806,7 +4806,7 @@ static int DoCertificate(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
|||||||
#endif /* HAVE_OCSP || HAVE_CRL */
|
#endif /* HAVE_OCSP || HAVE_CRL */
|
||||||
|
|
||||||
#ifdef KEEP_PEER_CERT
|
#ifdef KEEP_PEER_CERT
|
||||||
if (fatal == 0) {
|
{
|
||||||
/* set X509 format for peer cert even if fatal */
|
/* set X509 format for peer cert even if fatal */
|
||||||
int copyRet = CopyDecodedToX509(&ssl->peerCert, dCert);
|
int copyRet = CopyDecodedToX509(&ssl->peerCert, dCert);
|
||||||
if (copyRet == MEMORY_E)
|
if (copyRet == MEMORY_E)
|
||||||
|
Reference in New Issue
Block a user