From: Steffan Karger Date: Wed, 16 Nov 2016 13:23:04 +0000 (+0100) Subject: Remove unused variables from do_init_crypto_static() X-Git-Tag: v2.4_beta1~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4066f1ce602c2404fa4d80ba237e9d24d79e26cd;p=thirdparty%2Fopenvpn.git Remove unused variables from do_init_crypto_static() Commit 28c115e4 refactored the key loading, but forgot to remove these variables from do_init_crypto_static(). Fix that. Signed-off-by: Steffan Karger Acked-by: David Sommerseth Message-Id: <1479302584-28598-1-git-send-email-steffan.karger@fox-it.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13079.html Signed-off-by: David Sommerseth --- diff --git a/src/openvpn/init.c b/src/openvpn/init.c index a0281475b..b9693e46f 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@ -2139,9 +2139,6 @@ do_init_crypto_static (struct context *c, const unsigned int flags) if (!key_ctx_bi_defined (&c->c1.ks.static_key)) { - struct key2 key2; - struct key_direction_state kds; - /* Get cipher & hash algorithms */ init_key_type (&c->c1.ks.key_type, options->ciphername, options->authname, options->keysize, options->test_crypto, true);