]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - providers/implementations/keymgmt/mac_legacy_kmgmt.c
Constify OSSL_FUNC_keymgmt_has()
[thirdparty/openssl.git] / providers / implementations / keymgmt / mac_legacy_kmgmt.c
index 969b266c683cad651554bc299b9db332bee51488..196d3516ed888f9167753c2224f8802cc3e7f3cf 100644 (file)
@@ -131,9 +131,9 @@ static void mac_free(void *mackey)
     mac_key_free(mackey);
 }
 
-static int mac_has(void *keydata, int selection)
+static int mac_has(const void *keydata, int selection)
 {
-    MAC_KEY *key = keydata;
+    const MAC_KEY *key = keydata;
     int ok = 0;
 
     if (ossl_prov_is_running() && key != NULL) {