aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);