Remove the SSL state variable
authorMatt Caswell <matt@openssl.org>
Thu, 10 Sep 2015 08:23:34 +0000 (09:23 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Oct 2015 08:38:18 +0000 (08:38 +0000)
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 <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/ssl_locl.h

index e7d28622c061ba5a883190563ee55c5aabce0117..4c51b0e92ca7c2e7da9ec5905443e7f855b17915 100644 (file)
@@ -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 */