From: Matt Caswell Date: Thu, 10 Sep 2015 08:23:34 +0000 (+0100) Subject: Remove the SSL state variable X-Git-Tag: OpenSSL_1_1_0-pre1~364 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=0131df49ee1f98918e958c05b0d4f56b7d441f83 Remove the SSL state variable The SSL structure contained a "state" variable that kept track of the state machine in the old code. The new state machine does not use this so it can be removed. Reviewed-by: Tim Hudson Reviewed-by: Richard Levitte --- diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index e7d28622c0..4c51b0e92c 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -1093,7 +1093,6 @@ struct ssl_st { /* we have shut things down, 0x01 sent, 0x02 for received */ int shutdown; /* where we are */ - int state; STATEM statem; BUF_MEM *init_buf; /* buffer used during init */