summaryrefslogtreecommitdiff
path: root/plugin/cracklib_password_check/cracklib_password_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/cracklib_password_check/cracklib_password_check.c')
-rw-r--r--plugin/cracklib_password_check/cracklib_password_check.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/cracklib_password_check/cracklib_password_check.c b/plugin/cracklib_password_check/cracklib_password_check.c
index 55a1fd1c738..470e6e5280f 100644
--- a/plugin/cracklib_password_check/cracklib_password_check.c
+++ b/plugin/cracklib_password_check/cracklib_password_check.c
@@ -21,7 +21,8 @@
static char *dictionary;
-static int crackme(MYSQL_CONST_LEX_STRING *username, MYSQL_CONST_LEX_STRING *password)
+static int crackme(const MYSQL_CONST_LEX_STRING *username,
+ const MYSQL_CONST_LEX_STRING *password)
{
char *user= alloca(username->length + 1);
char *host;