]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DPP: Remove unused EVP_PKEY_CTX variable
authorCedric Izoard <cedric.izoard@ceva-dsp.com>
Mon, 28 Jun 2021 16:25:30 +0000 (18:25 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 26 Oct 2021 20:42:01 +0000 (23:42 +0300)
Signed-off-by: Cedric Izoard <cedric.izoard@ceva-dsp.com>
src/common/dpp_auth.c

index 2f5f474593fab1dadfe0904a56d37f647016bf37..f81f1eecbc7ec4b9e66568acd07b53413b1c1280 100644 (file)
@@ -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;
 }