diff options
Diffstat (limited to 'src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c')
-rw-r--r-- | src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c index 46371d2cc..1b99de7ac 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c +++ b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c @@ -185,7 +185,7 @@ error: static bool compute_shared_key(private_openssl_ec_diffie_hellman_t *this, chunk_t *shared_secret) { const BIGNUM *priv_key; - EC_POINT *secret; + EC_POINT *secret = NULL; bool ret = FALSE; priv_key = EC_KEY_get0_private_key(this->key); |