From: Gerd Hoffmann Date: Tue, 11 Jan 2022 07:51:31 +0000 (+0100) Subject: drop unused callback variable X-Git-Tag: openssl-3.2.0-alpha1~3087 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=64a644530e023d3064db9027b0977d33b1d2ad9a;p=thirdparty%2Fopenssl.git drop unused callback variable Signed-off-by: Gerd Hoffmann Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17471) --- diff --git a/crypto/evp/pmeth_gn.c b/crypto/evp/pmeth_gn.c index f9d001fdd05..e6bb48501f2 100644 --- a/crypto/evp/pmeth_gn.c +++ b/crypto/evp/pmeth_gn.c @@ -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];