fixed some compiler warnings
This commit is contained in:
@@ -835,7 +835,6 @@ static status_t server_initiate_challenge(private_eap_aka_t *this, chunk_t sqn,
|
|||||||
eap_payload_t **out)
|
eap_payload_t **out)
|
||||||
{
|
{
|
||||||
rng_t *rng;
|
rng_t *rng;
|
||||||
status_t status;
|
|
||||||
chunk_t mac, ak, autn;
|
chunk_t mac, ak, autn;
|
||||||
|
|
||||||
mac = chunk_alloca(MAC_LENGTH);
|
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)
|
static bool compute_shared_key(private_openssl_ec_diffie_hellman_t *this, chunk_t *shared_secret)
|
||||||
{
|
{
|
||||||
const BIGNUM *priv_key;
|
const BIGNUM *priv_key;
|
||||||
EC_POINT *secret;
|
EC_POINT *secret = NULL;
|
||||||
bool ret = FALSE;
|
bool ret = FALSE;
|
||||||
|
|
||||||
priv_key = EC_KEY_get0_private_key(this->key);
|
priv_key = EC_KEY_get0_private_key(this->key);
|
||||||
|
|||||||
Reference in New Issue
Block a user