summaryrefslogtreecommitdiff
path: root/auth/gensec
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-08-05 11:10:55 +0200
committerStefan Metzmacher <metze@samba.org>2013-08-10 09:19:04 +0200
commitc81b6f7448d7f945635784de645bea4f7f2e230f (patch)
tree38972db95898d6e57e14398ed5a6c49170fa6279 /auth/gensec
parente81550c8117166d0fbf69ba1d3957cb950c42961 (diff)
downloadsamba-c81b6f7448d7f945635784de645bea4f7f2e230f.tar.gz
samba-c81b6f7448d7f945635784de645bea4f7f2e230f.tar.bz2
samba-c81b6f7448d7f945635784de645bea4f7f2e230f.zip
auth/gensec: use 'const char * const *' for function parameters
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'auth/gensec')
-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;