summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
Diffstat (limited to 'auth')
-rw-r--r--auth/gensec/gensec.h2
-rw-r--r--auth/gensec/gensec_start.c2
-rw-r--r--auth/gensec/spnego.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/auth/gensec/gensec.h b/auth/gensec/gensec.h
index 5d39d8188f..d0bc451b4e 100644
--- a/auth/gensec/gensec.h
+++ b/auth/gensec/gensec.h
@@ -184,7 +184,7 @@ struct gensec_security_ops **gensec_security_mechs(struct gensec_security *gense
const struct gensec_security_ops_wrapper *gensec_security_by_oid_list(
struct gensec_security *gensec_security,
TALLOC_CTX *mem_ctx,
- const char **oid_strings,
+ const char * const *oid_strings,
const char *skip);
const char **gensec_security_oids(struct gensec_security *gensec_security,
TALLOC_CTX *mem_ctx,
diff --git a/auth/gensec/gensec_start.c b/auth/gensec/gensec_start.c
index 00e27596bf..2874c138b2 100644
--- a/auth/gensec/gensec_start.c
+++ b/auth/gensec/gensec_start.c
@@ -373,7 +373,7 @@ static const struct gensec_security_ops **gensec_security_by_sasl_list(
_PUBLIC_ const struct gensec_security_ops_wrapper *gensec_security_by_oid_list(
struct gensec_security *gensec_security,
TALLOC_CTX *mem_ctx,
- const char **oid_strings,
+ const char * const *oid_strings,
const char *skip)
{
struct gensec_security_ops_wrapper *backends_out;
diff --git a/auth/gensec/spnego.c b/auth/gensec/spnego.c
index 38a45f8bdc..0eb6da1160 100644
--- a/auth/gensec/spnego.c
+++ b/auth/gensec/spnego.c
@@ -417,7 +417,7 @@ static NTSTATUS gensec_spnego_parse_negTokenInit(struct gensec_security *gensec_
struct spnego_state *spnego_state,
TALLOC_CTX *out_mem_ctx,
struct tevent_context *ev,
- const char **mechType,
+ const char * const *mechType,
const DATA_BLOB unwrapped_in, DATA_BLOB *unwrapped_out)
{
int i;