Final cleanup after move to leaner EVP_PKEY methods
[openssl.git] / crypto / evp / pmeth_fn.c
index 4a8ece5..d49d80b 100644 (file)
@@ -34,8 +34,7 @@ static EVP_SIGNATURE *evp_signature_new(OSSL_PROVIDER *prov)
 
 static void *evp_signature_from_dispatch(int name_id,
                                          const OSSL_DISPATCH *fns,
-                                         OSSL_PROVIDER *prov,
-                                         void *unused)
+                                         OSSL_PROVIDER *prov)
 {
     EVP_SIGNATURE *signature = NULL;
     int ctxfncnt = 0, signfncnt = 0, verifyfncnt = 0, verifyrecfncnt = 0;
@@ -277,7 +276,7 @@ EVP_SIGNATURE *EVP_SIGNATURE_fetch(OPENSSL_CTX *ctx, const char *algorithm,
                                    const char *properties)
 {
     return evp_generic_fetch(ctx, OSSL_OP_SIGNATURE, algorithm, properties,
-                             evp_signature_from_dispatch, NULL,
+                             evp_signature_from_dispatch,
                              (int (*)(void *))EVP_SIGNATURE_up_ref,
                              (void (*)(void *))EVP_SIGNATURE_free);
 }
@@ -299,7 +298,7 @@ void EVP_SIGNATURE_do_all_provided(OPENSSL_CTX *libctx,
 {
     evp_generic_do_all(libctx, OSSL_OP_SIGNATURE,
                        (void (*)(void *, void *))fn, arg,
-                       evp_signature_from_dispatch, NULL,
+                       evp_signature_from_dispatch,
                        (void (*)(void *))EVP_SIGNATURE_free);
 }