summaryrefslogtreecommitdiff
path: root/thirdparty/openssl/ssl/s23_srvr.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/openssl/ssl/s23_srvr.c')
-rw-r--r--thirdparty/openssl/ssl/s23_srvr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/thirdparty/openssl/ssl/s23_srvr.c b/thirdparty/openssl/ssl/s23_srvr.c
index 470bd3d94f..d3f6db15cc 100644
--- a/thirdparty/openssl/ssl/s23_srvr.c
+++ b/thirdparty/openssl/ssl/s23_srvr.c
@@ -195,7 +195,10 @@ int ssl23_accept(SSL *s)
s->init_buf = buf;
}
- ssl3_init_finished_mac(s);
+ if (!ssl3_init_finished_mac(s)) {
+ ret = -1;
+ goto end;
+ }
s->state = SSL23_ST_SR_CLNT_HELLO_A;
s->ctx->stats.sess_accept++;