diff options
author | Bodo Möller <bodo@openssl.org> | 2006-11-29 14:45:14 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2006-11-29 14:45:14 +0000 |
commit | 5c6f76da0ae3a7797c29744987c7e874a6a91e04 (patch) | |
tree | dcff2a657dfe8dff1e5f385e252be2592efebeb8 /ssl/s3_srvr.c | |
parent | 4636341b0593da7d1dd8df416c5ee4184b594992 (diff) |
fix support for receiving fragmented handshake messages
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r-- | ssl/s3_srvr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 9f84e3e4dc..a74e541acb 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -680,9 +680,9 @@ int ssl3_get_client_hello(SSL *s) */ if (s->state == SSL3_ST_SR_CLNT_HELLO_A) { - s->first_packet=1; s->state=SSL3_ST_SR_CLNT_HELLO_B; } + s->first_packet=1; n=s->method->ssl_get_message(s, SSL3_ST_SR_CLNT_HELLO_B, SSL3_ST_SR_CLNT_HELLO_C, @@ -691,6 +691,7 @@ int ssl3_get_client_hello(SSL *s) &ok); if (!ok) return((int)n); + s->first_packet=0; d=p=(unsigned char *)s->init_msg; /* use version from inside client hello, not from record header |