summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-05-04 06:24:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:30 -0500
commit8bcfc14d645ecce7869ec5ea032b2fa2e5e65dfb (patch)
tree5091566e26610a3aa5015706511e7778b7158b1e /source4/auth
parent001f13eb4f05c5746bc9ff248594f684277ff34f (diff)
downloadsamba-8bcfc14d645ecce7869ec5ea032b2fa2e5e65dfb.tar.gz
samba-8bcfc14d645ecce7869ec5ea032b2fa2e5e65dfb.tar.bz2
samba-8bcfc14d645ecce7869ec5ea032b2fa2e5e65dfb.zip
r6610: Fix a const warning in the gensec spnego implementation. (A make proto
is required after updating to this version). (This used to be commit 258d03ef9248b2827db18269e4f0883c73839084)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/gensec.c2
-rw-r--r--source4/auth/gensec/spnego.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c
index 43ace2c36d..77ba58fcde 100644
--- a/source4/auth/gensec/gensec.c
+++ b/source4/auth/gensec/gensec.c
@@ -324,7 +324,7 @@ NTSTATUS gensec_unseal_packet(struct gensec_security *gensec_security,
TALLOC_CTX *mem_ctx,
uint8_t *data, size_t length,
const uint8_t *whole_pdu, size_t pdu_length,
- DATA_BLOB *sig)
+ const DATA_BLOB *sig)
{
if (!gensec_security->ops->unseal_packet) {
return NT_STATUS_NOT_IMPLEMENTED;
diff --git a/source4/auth/gensec/spnego.c b/source4/auth/gensec/spnego.c
index f5a091cd78..4d9d124807 100644
--- a/source4/auth/gensec/spnego.c
+++ b/source4/auth/gensec/spnego.c
@@ -89,7 +89,7 @@ static NTSTATUS gensec_spnego_unseal_packet(struct gensec_security *gensec_secur
TALLOC_CTX *mem_ctx,
uint8_t *data, size_t length,
const uint8_t *whole_pdu, size_t pdu_length,
- DATA_BLOB *sig)
+ const DATA_BLOB *sig)
{
struct spnego_state *spnego_state = gensec_security->private_data;