r6610: Fix a const warning in the gensec spnego implementation. (A make proto
authorTim Potter <tpot@samba.org>
Wed, 4 May 2005 06:24:53 +0000 (06:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:16:30 +0000 (13:16 -0500)
is required after updating to this version).

source/auth/gensec/gensec.c
source/auth/gensec/spnego.c

index 43ace2c36d558419df32eb5145645fb3f8da6d29..77ba58fcde9536855f0b48988f441e46ffe48c51 100644 (file)
@@ -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, 
                              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;
 {
        if (!gensec_security->ops->unseal_packet) {
                return NT_STATUS_NOT_IMPLEMENTED;
index f5a091cd784c413bfa1f09885fe0e8145057f6ee..4d9d1248073f3d361dd55dc1c7addeae5b5dea2b 100644 (file)
@@ -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, 
                                            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;
 
 {
        struct spnego_state *spnego_state = gensec_security->private_data;