summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s23_clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/s23_clnt.c')
-rw-r--r--src/lib/libssl/s23_clnt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libssl/s23_clnt.c b/src/lib/libssl/s23_clnt.c
index 07bf6d7861..28ea24c173 100644
--- a/src/lib/libssl/s23_clnt.c
+++ b/src/lib/libssl/s23_clnt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s23_clnt.c,v 1.34 2014/11/16 14:12:47 jsing Exp $ */ 1/* $OpenBSD: s23_clnt.c,v 1.35 2014/12/10 15:43:31 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -230,7 +230,10 @@ ssl23_connect(SSL *s)
230 goto end; 230 goto end;
231 } 231 }
232 232
233 ssl3_init_finished_mac(s); 233 if (!ssl3_init_finished_mac(s)) {
234 ret = -1;
235 goto end;
236 }
234 237
235 s->state = SSL23_ST_CW_CLNT_HELLO_A; 238 s->state = SSL23_ST_CW_CLNT_HELLO_A;
236 s->ctx->stats.sess_connect++; 239 s->ctx->stats.sess_connect++;