summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-01-11 08:51:31 +0100
committerTomas Mraz <tomas@openssl.org>2022-01-13 10:01:02 +0100
commit64a644530e023d3064db9027b0977d33b1d2ad9a (patch)
tree47ef64c1c6a6d5c8c8cf2024bb01c7a72f41fa90 /crypto/evp
parenta4e01187d3648d9ce99507097400902cf21f9b55 (diff)
drop unused callback variable
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)
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/pmeth_gn.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/evp/pmeth_gn.c b/crypto/evp/pmeth_gn.c
index f9d001fdd0..e6bb48501f 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];