Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/handshake_server.c')
-rw-r--r--ssl/handshake_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/handshake_server.c b/ssl/handshake_server.c
index d57735a9..4e443845 100644
--- a/ssl/handshake_server.c
+++ b/ssl/handshake_server.c
@@ -1841,6 +1841,7 @@ static int ssl3_get_channel_id(SSL *ssl) {
* were called. */
if (!ECDSA_do_verify(channel_id_hash, channel_id_hash_len, &sig, key)) {
OPENSSL_PUT_ERROR(SSL, SSL_R_CHANNEL_ID_SIGNATURE_INVALID);
+ ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_DECRYPT_ERROR);
ssl->s3->tlsext_channel_id_valid = 0;
goto err;
}