From: Cedric Izoard Date: Mon, 28 Jun 2021 16:25:30 +0000 (+0200) Subject: DPP: Remove unused EVP_PKEY_CTX variable X-Git-Tag: hostap_2_10~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da63d309971ec7e652f46af35b4857e94160b173;p=thirdparty%2Fhostap.git DPP: Remove unused EVP_PKEY_CTX variable Signed-off-by: Cedric Izoard --- diff --git a/src/common/dpp_auth.c b/src/common/dpp_auth.c index 2f5f47459..f81f1eecb 100644 --- a/src/common/dpp_auth.c +++ b/src/common/dpp_auth.c @@ -672,7 +672,6 @@ dpp_auth_req_rx(struct dpp_global *dpp, void *msg_ctx, u8 dpp_allowed_roles, size_t attr_len) { struct crypto_ec_key *pi = NULL; - EVP_PKEY_CTX *ctx = NULL; size_t secret_len; const u8 *addr[2]; size_t len[2]; @@ -929,7 +928,6 @@ not_compatible: fail: bin_clear_free(unwrapped, unwrapped_len); crypto_ec_key_deinit(pi); - EVP_PKEY_CTX_free(ctx); dpp_auth_deinit(auth); return NULL; }