Final cleanup after move to leaner EVP_PKEY methods
[openssl.git] / crypto / evp / mac_meth.c
index 2c124ae..b1fadb6 100644 (file)
@@ -48,8 +48,7 @@ static void *evp_mac_new(void)
 
 static void *evp_mac_from_dispatch(int name_id,
                                    const OSSL_DISPATCH *fns,
-                                   OSSL_PROVIDER *prov,
-                                   void *unused)
+                                   OSSL_PROVIDER *prov)
 {
     EVP_MAC *mac = NULL;
     int fnmaccnt = 0, fnctxcnt = 0;
@@ -154,7 +153,7 @@ EVP_MAC *EVP_MAC_fetch(OPENSSL_CTX *libctx, const char *algorithm,
                        const char *properties)
 {
     return evp_generic_fetch(libctx, OSSL_OP_MAC, algorithm, properties,
-                             evp_mac_from_dispatch, NULL, evp_mac_up_ref,
+                             evp_mac_from_dispatch, evp_mac_up_ref,
                              evp_mac_free);
 }
 
@@ -200,5 +199,5 @@ void EVP_MAC_do_all_provided(OPENSSL_CTX *libctx,
 {
     evp_generic_do_all(libctx, OSSL_OP_MAC,
                        (void (*)(void *, void *))fn, arg,
-                       evp_mac_from_dispatch, NULL, evp_mac_free);
+                       evp_mac_from_dispatch, evp_mac_free);
 }