fishlim: Fix build warning

This commit is contained in:
Patrick Griffis 2018-02-18 04:30:43 -05:00
parent 7510ab36b7
commit 23c7e7c3da
1 changed files with 6 additions and 4 deletions

View File

@ -189,8 +189,10 @@ dh1080_compute_key (const char *priv_key, const char *pub_key, char **secret_key
char *pub_key_data;
gsize pub_key_len;
BIGNUM *pk;
BIGNUM *temp_pub_key = BN_new();
DH *dh;
#ifdef HAVE_DH_SET0_KEY
BIGNUM *temp_pub_key = BN_new();
#endif
g_assert (secret_key != NULL);