Commit 28c115e4 refactored the key loading, but forgot to remove these variables from do_init_crypto_static(). Fix that.
Signed-off-by: Steffan Karger <steffan.kar...@fox-it.com> --- src/openvpn/init.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/openvpn/init.c b/src/openvpn/init.c index d6733f0..c42aed2 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@ -2132,9 +2132,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); -- 2.7.4 ------------------------------------------------------------------------------ _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel