From 9d671ad1cf6d48c3249c73e2e0ad5aa0f3768a86 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 11 Sep 2015 11:56:48 +0100 Subject: [PATCH] Remove some unused variables The next_state variable is no longer needed in the new state machine. Reviewed-by: Tim Hudson Reviewed-by: Richard Levitte --- ssl/ssl_locl.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index d30663f43b..2c22ee3ac4 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -1260,8 +1260,6 @@ typedef struct ssl3_state_st { # ifndef OPENSSL_NO_EC EC_KEY *ecdh; /* holds short lived ECDH key */ # endif - /* used when SSL_ST_FLUSH_DATA is entered */ - int next_state; /* used for certificate requests */ int cert_req; int ctype_num; @@ -1449,8 +1447,6 @@ typedef struct dtls1_state_st { unsigned int retransmitting; # ifndef OPENSSL_NO_SCTP - /* used when SSL_ST_XX_FLUSH is entered */ - int next_state; int shutdown_received; # endif } DTLS1_STATE; -- 2.25.1