Unused variable cleanup
authorFdaSilvaYY <fdasilvayy@gmail.com>
Mon, 11 Jul 2016 17:46:08 +0000 (19:46 +0200)
committerRich Salz <rsalz@openssl.org>
Mon, 25 Jul 2016 12:35:39 +0000 (08:35 -0400)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1301)

apps/s_server.c

index 22ee018..35813d4 100644 (file)
@@ -155,7 +155,6 @@ static long socket_mtu;
 #endif
 static int dtlslisten = 0;
 
-static BIO *serverinfo_in = NULL;
 static const char *s_serverinfo_file = NULL;
 
 #ifndef OPENSSL_NO_PSK
@@ -1977,7 +1976,6 @@ int s_server_main(int argc, char *argv[])
     SSL_CTX_free(ctx2);
     X509_free(s_cert2);
     EVP_PKEY_free(s_key2);
-    BIO_free(serverinfo_in);
 #ifndef OPENSSL_NO_NEXTPROTONEG
     OPENSSL_free(next_proto.data);
 #endif