diff options
author | Bodo Möller <bodo@openssl.org> | 2008-09-14 14:02:01 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2008-09-14 14:02:01 +0000 |
commit | 200d00c8546a6d15842384c34ef94f166490b26a (patch) | |
tree | 71eda8a6907c9d36c359c2d50bee143309ec092e /ssl/s3_srvr.c | |
parent | 669b912dea8903df14ba2b3668aa5d8faa260462 (diff) |
Fix SSL state transitions.
Submitted by: Nagendra Modadugu
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r-- | ssl/s3_srvr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index d5d3c4ad58..274493e002 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -1172,13 +1172,13 @@ int ssl3_send_server_hello(SSL *s) *(d++)=SSL3_MT_SERVER_HELLO; l2n3(l,d); - s->state=SSL3_ST_CW_CLNT_HELLO_B; + s->state=SSL3_ST_SW_CLNT_HELLO_B; /* number of bytes to write */ s->init_num=p-buf; s->init_off=0; } - /* SSL3_ST_CW_CLNT_HELLO_B */ + /* SSL3_ST_SW_CLNT_HELLO_B */ return(ssl3_do_write(s,SSL3_RT_HANDSHAKE)); } @@ -1202,7 +1202,7 @@ int ssl3_send_server_done(SSL *s) s->init_off=0; } - /* SSL3_ST_CW_CLNT_HELLO_B */ + /* SSL3_ST_SW_SRVR_DONE_B */ return(ssl3_do_write(s,SSL3_RT_HANDSHAKE)); } |