aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-05-23 15:49:43 +0000
committerMartin Willi <martin@strongswan.org>2008-05-23 15:49:43 +0000
commit5e17e35c8dd0f47f948a2b9aec4057ca2cfa0d12 (patch)
treefa8e768e3551c9b8b8887d1a0fe7e40dc9b58731
parentc7d81ad12c0c209ab164838fda41e97f7bd0181c (diff)
downloadstrongswan-5e17e35c8dd0f47f948a2b9aec4057ca2cfa0d12.tar.bz2
strongswan-5e17e35c8dd0f47f948a2b9aec4057ca2cfa0d12.tar.xz
fixed some compiler warnings
-rw-r--r--src/charon/plugins/eap_aka/eap_aka.c1
-rw-r--r--src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/charon/plugins/eap_aka/eap_aka.c b/src/charon/plugins/eap_aka/eap_aka.c
index 570e9bfa4..3bf3ccbc5 100644
--- a/src/charon/plugins/eap_aka/eap_aka.c
+++ b/src/charon/plugins/eap_aka/eap_aka.c
@@ -835,7 +835,6 @@ static status_t server_initiate_challenge(private_eap_aka_t *this, chunk_t sqn,
eap_payload_t **out)
{
rng_t *rng;
- status_t status;
chunk_t mac, ak, autn;
mac = chunk_alloca(MAC_LENGTH);
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);