From 31fd10e60d12ae2e955de8651fa84aff016d719a Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 22 Oct 2015 12:18:45 +0100 Subject: Fix DTLSv1_listen following state machine changes Adding the new state machine broke the DTLSv1_listen code because calling SSL_in_before() was erroneously returning true after DTLSv1_listen had successfully completed. This change ensures that SSL_in_before returns false. Reviewed-by: Tim Hudson Reviewed-by: Richard Levitte --- ssl/statem/statem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ssl/statem/statem.h') diff --git a/ssl/statem/statem.h b/ssl/statem/statem.h index 4c090dc1cb..2dc603ac05 100644 --- a/ssl/statem/statem.h +++ b/ssl/statem/statem.h @@ -161,6 +161,7 @@ void ossl_statem_set_renegotiate(SSL *s); void ossl_statem_set_error(SSL *s); int ossl_statem_in_error(const SSL *s); void ossl_statem_set_in_init(SSL *s, int init); +void ossl_statem_set_hello_verify_done(SSL *s); __owur int ossl_statem_app_data_allowed(SSL *s); #ifndef OPENSSL_NO_SCTP void ossl_statem_set_sctp_read_sock(SSL *s, int read_sock); -- cgit v1.2.3