fixed some compiler warnings

This commit is contained in:
Martin Willi
2008-05-23 15:49:43 +00:00
parent c7d81ad12c
commit 5e17e35c8d
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -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);
@@ -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);