forked from wolfSSL/wolfssl
certificate verify callback override
This commit is contained in:
@@ -8636,9 +8636,10 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
|||||||
/* set X509 format for peer cert */
|
/* set X509 format for peer cert */
|
||||||
int copyRet = CopyDecodedToX509(&ssl->peerCert,
|
int copyRet = CopyDecodedToX509(&ssl->peerCert,
|
||||||
args->dCert);
|
args->dCert);
|
||||||
if (copyRet == MEMORY_E)
|
if (copyRet == MEMORY_E) {
|
||||||
args->fatal = 1;
|
args->fatal = 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif /* KEEP_PEER_CERT */
|
#endif /* KEEP_PEER_CERT */
|
||||||
|
|
||||||
#ifndef IGNORE_KEY_EXTENSIONS
|
#ifndef IGNORE_KEY_EXTENSIONS
|
||||||
|
Reference in New Issue
Block a user