diff options
author | Bodo Möller <bodo@openssl.org> | 2008-09-14 14:02:07 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2008-09-14 14:02:07 +0000 |
commit | e65bcbcef05007ad00e26c8132a8d5f4baa981f0 (patch) | |
tree | 00bd4391b2d8b55c1068e8fddb104919d1e56e61 /ssl/d1_srvr.c | |
parent | e710de12ce27e5f1620eee974b1a45cfb7139ada (diff) |
Fix SSL state transitions.
Submitted by: Nagendra Modadugu
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r-- | ssl/d1_srvr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c index c6f98a832b..1ded18df50 100644 --- a/ssl/d1_srvr.c +++ b/ssl/d1_srvr.c @@ -725,7 +725,7 @@ int dtls1_send_server_hello(SSL *s) d = dtls1_set_message_header(s, d, SSL3_MT_SERVER_HELLO, l, 0, l); - s->state=SSL3_ST_CW_CLNT_HELLO_B; + s->state=SSL3_ST_SW_SRVR_HELLO_B; /* number of bytes to write */ s->init_num=p-buf; s->init_off=0; @@ -734,7 +734,7 @@ int dtls1_send_server_hello(SSL *s) dtls1_buffer_message(s, 0); } - /* SSL3_ST_CW_CLNT_HELLO_B */ + /* SSL3_ST_SW_SRVR_HELLO_B */ return(dtls1_do_write(s,SSL3_RT_HANDSHAKE)); } @@ -758,7 +758,7 @@ int dtls1_send_server_done(SSL *s) dtls1_buffer_message(s, 0); } - /* SSL3_ST_CW_CLNT_HELLO_B */ + /* SSL3_ST_SW_SRVR_DONE_B */ return(dtls1_do_write(s,SSL3_RT_HANDSHAKE)); } |