summaryrefslogtreecommitdiff
path: root/source4/auth/auth_developer.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-10 04:33:39 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:03 +0100
commit2e1f142ab03d9accbf4c61b0b11986bc1cb33d12 (patch)
treec75d4616b0390f048fa26f5d8a97c97171acff05 /source4/auth/auth_developer.c
parentb65738c251c4ad127960e710d3e7e3226db8de55 (diff)
downloadsamba-2e1f142ab03d9accbf4c61b0b11986bc1cb33d12.tar.gz
samba-2e1f142ab03d9accbf4c61b0b11986bc1cb33d12.tar.bz2
samba-2e1f142ab03d9accbf4c61b0b11986bc1cb33d12.zip
r26360: Add some const.
(This used to be commit 3616ced29ed2385300f7268a742a9090840b626f)
Diffstat (limited to 'source4/auth/auth_developer.c')
-rw-r--r--source4/auth/auth_developer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/auth_developer.c b/source4/auth/auth_developer.c
index cc5e79631f..57eb752ac8 100644
--- a/source4/auth/auth_developer.c
+++ b/source4/auth/auth_developer.c
@@ -129,7 +129,7 @@ static NTSTATUS name_to_ntstatus_check_password(struct auth_method_context *ctx,
return nt_status;
}
-static struct auth_operations name_to_ntstatus_auth_ops = {
+static const struct auth_operations name_to_ntstatus_auth_ops = {
.name = "name_to_ntstatus",
.get_challenge = auth_get_challenge_not_implemented,
.want_check = name_to_ntstatus_want_check,
@@ -179,7 +179,7 @@ static NTSTATUS fixed_challenge_check_password(struct auth_method_context *ctx,
return NT_STATUS_NO_SUCH_USER;
}
-static struct auth_operations fixed_challenge_auth_ops = {
+static const struct auth_operations fixed_challenge_auth_ops = {
.name = "fixed_challenge",
.get_challenge = fixed_challenge_get_challenge,
.want_check = fixed_challenge_want_check,