From 8723588e1b9a13511ffd7b806c73293120bc1f44 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 7 Sep 2015 16:36:53 +0100 Subject: Implement Client TLS state machine This swaps the implementation of the client TLS state machine to use the new state machine code instead. Reviewed-by: Tim Hudson Reviewed-by: Richard Levitte --- ssl/d1_msg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ssl/d1_msg.c') diff --git a/ssl/d1_msg.c b/ssl/d1_msg.c index 13bda46922..e35c9356a4 100644 --- a/ssl/d1_msg.c +++ b/ssl/d1_msg.c @@ -127,8 +127,7 @@ int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf_, int len) */ if ((SSL_in_init(s) && !s->in_handshake) || (BIO_dgram_is_sctp(SSL_get_wbio(s)) && - (s->state == DTLS1_SCTP_ST_SR_READ_SOCK - || s->state == DTLS1_SCTP_ST_CR_READ_SOCK))) + statem_in_sctp_read_sock(s))) #else if (SSL_in_init(s) && !s->in_handshake) #endif -- cgit v1.2.3