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.karger@fox-it.com>
Acked-by: David Sommerseth <davids@openvpn.net>
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 <davids@openvpn.net>
| ... | ... |
@@ -2139,9 +2139,6 @@ do_init_crypto_static (struct context *c, const unsigned int flags) |
| 2139 | 2139 |
|
| 2140 | 2140 |
if (!key_ctx_bi_defined (&c->c1.ks.static_key)) |
| 2141 | 2141 |
{
|
| 2142 |
- struct key2 key2; |
|
| 2143 |
- struct key_direction_state kds; |
|
| 2144 |
- |
|
| 2145 | 2142 |
/* Get cipher & hash algorithms */ |
| 2146 | 2143 |
init_key_type (&c->c1.ks.key_type, options->ciphername, options->authname, |
| 2147 | 2144 |
options->keysize, options->test_crypto, true); |