summaryrefslogtreecommitdiff
path: root/main/openssl/ssl/s3_both.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssl/ssl/s3_both.c')
-rw-r--r--main/openssl/ssl/s3_both.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/openssl/ssl/s3_both.c b/main/openssl/ssl/s3_both.c
index 607990d0..8d5e0b73 100644
--- a/main/openssl/ssl/s3_both.c
+++ b/main/openssl/ssl/s3_both.c
@@ -446,6 +446,7 @@ long ssl3_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok)
goto f_err;
}
*ok=1;
+ s->state = stn;
s->init_msg = s->init_buf->data + 4;
s->init_num = (int)s->s3->tmp.message_size;
return s->init_num;