Remove the type variable
authorMatt Caswell <matt@openssl.org>
Thu, 10 Sep 2015 08:19:53 +0000 (09:19 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Oct 2015 08:38:18 +0000 (08:38 +0000)
commit23a635c0ec895f9876d4d7633e7e2923b5bbfc17
treefaf3ec2a456cf4993a7ba6bddca3ce0d7d7a607a
parent5e41ba031edd91bfbac6a614664f83b22fb48207
Remove the type variable

The SSL structure contained a "type" variable that was set to either
SSL_ST_ACCEPT or SSL_ST_CONNECT depending on whether we are the server or
the client. This duplicates the capability of the "server" variable and was
actually rarely used.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/s3_both.c
ssl/ssl_cert.c
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/statem.c