From: Matt Caswell Date: Fri, 11 Sep 2015 10:56:48 +0000 (+0100) Subject: Remove some unused variables X-Git-Tag: OpenSSL_1_1_0-pre1~357 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d671ad1cf6d48c3249c73e2e0ad5aa0f3768a86;p=openssl 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 --- 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;