diff options
author | Martin Willi <martin@strongswan.org> | 2008-05-23 15:49:43 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-05-23 15:49:43 +0000 |
commit | 5e17e35c8dd0f47f948a2b9aec4057ca2cfa0d12 (patch) | |
tree | fa8e768e3551c9b8b8887d1a0fe7e40dc9b58731 /src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c | |
parent | c7d81ad12c0c209ab164838fda41e97f7bd0181c (diff) | |
download | strongswan-5e17e35c8dd0f47f948a2b9aec4057ca2cfa0d12.tar.bz2 strongswan-5e17e35c8dd0f47f948a2b9aec4057ca2cfa0d12.tar.xz |
fixed some compiler warnings
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); |