forked from wolfSSL/wolfssl
Peer cert ASN PARSE ERROR
This commit is contained in:
committed by
Jacob Barthelmeh
parent
6f44969e23
commit
13325606b7
@@ -8510,6 +8510,7 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
||||
}
|
||||
else if (ret == ASN_PARSE_E || ret == BUFFER_E) {
|
||||
WOLFSSL_MSG("Got Peer cert ASN PARSE or BUFFER ERROR");
|
||||
SendAlert(ssl, alert_fatal, bad_certificate);
|
||||
#ifdef OPENSSL_EXTRA
|
||||
ssl->peerVerifyRet = X509_V_ERR_CERT_REJECTED;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user