diff options
Diffstat (limited to 'src/lib/libssl/s23_srvr.c')
| -rw-r--r-- | src/lib/libssl/s23_srvr.c | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libssl/s23_srvr.c b/src/lib/libssl/s23_srvr.c index 9530ecdbaa..a7686c3f40 100644 --- a/src/lib/libssl/s23_srvr.c +++ b/src/lib/libssl/s23_srvr.c  | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s23_srvr.c,v 1.36 2014/11/16 14:12:47 jsing Exp $ */ | 1 | /* $OpenBSD: s23_srvr.c,v 1.37 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 | * | 
| @@ -219,7 +219,10 @@ ssl23_accept(SSL *s) | |||
| 219 | s->init_buf = buf; | 219 | s->init_buf = buf; | 
| 220 | } | 220 | } | 
| 221 | 221 | ||
| 222 | ssl3_init_finished_mac(s); | 222 | if (!ssl3_init_finished_mac(s)) { | 
| 223 | ret = -1; | ||
| 224 | goto end; | ||
| 225 | } | ||
| 223 | 226 | ||
| 224 | s->state = SSL23_ST_SR_CLNT_HELLO_A; | 227 | s->state = SSL23_ST_SR_CLNT_HELLO_A; | 
| 225 | s->ctx->stats.sess_accept++; | 228 | s->ctx->stats.sess_accept++; | 
