summaryrefslogtreecommitdiff
path: root/plugins/sudoers/auth/rfc1938.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sudoers/auth/rfc1938.c')
-rw-r--r--plugins/sudoers/auth/rfc1938.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sudoers/auth/rfc1938.c b/plugins/sudoers/auth/rfc1938.c
index 2e4824c60..2065c52c0 100644
--- a/plugins/sudoers/auth/rfc1938.c
+++ b/plugins/sudoers/auth/rfc1938.c
@@ -126,11 +126,11 @@ sudo_rfc1938_setup(struct passwd *pw, char **promptp, sudo_auth *auth)
}
int
-sudo_rfc1938_verify(struct passwd *pw, char *pass, sudo_auth *auth, struct sudo_conv_callback *callback)
+sudo_rfc1938_verify(struct passwd *pw, const char *pass, sudo_auth *auth, struct sudo_conv_callback *callback)
{
debug_decl(sudo_rfc1938_verify, SUDOERS_DEBUG_AUTH);
- if (rfc1938verify((struct RFC1938 *) auth->data, pass) == 0)
+ if (rfc1938verify((struct RFC1938 *) auth->data, (char *)pass) == 0)
debug_return_int(AUTH_SUCCESS);
else
debug_return_int(AUTH_FAILURE);