aboutsummaryrefslogtreecommitdiffstats
path: root/module/icp/api
diff options
context:
space:
mode:
Diffstat (limited to 'module/icp/api')
-rw-r--r--module/icp/api/kcf_miscapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/icp/api/kcf_miscapi.c b/module/icp/api/kcf_miscapi.c
index c0f415b26..5c0d60391 100644
--- a/module/icp/api/kcf_miscapi.c
+++ b/module/icp/api/kcf_miscapi.c
@@ -62,7 +62,7 @@ static kcf_ntfy_elem_t *ntfy_list_head;
* CRYPTO_MECH_INVALID otherwise.
*/
crypto_mech_type_t
-crypto_mech2id(char *mechname)
+crypto_mech2id(const char *mechname)
{
return (crypto_mech2id_common(mechname, B_TRUE));
}