drop unused callback variable
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Jan 2022 07:51:31 +0000 (08:51 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 13 Jan 2022 09:01:32 +0000 (10:01 +0100)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17471)

(cherry picked from commit 64a644530e023d3064db9027b0977d33b1d2ad9a)

crypto/evp/pmeth_gn.c

index f9d001fdd05cf7ab61a2b9473b33cf99172f21ac..e6bb48501f222c6baf6874f1fb75a5b6f3978e8a 100644 (file)
@@ -128,7 +128,6 @@ static int ossl_callback_to_pkey_gencb(const OSSL_PARAM params[], void *arg)
 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey)
 {
     int ret = 0;
-    OSSL_CALLBACK cb;
     EVP_PKEY *allocated_pkey = NULL;
     /* Legacy compatible keygen callback info, only used with provider impls */
     int gentmp[2];