summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-02 20:38:31 +1100
committerStefan Metzmacher <metze@samba.org>2012-01-18 16:23:23 +0100
commit0132cca82599839ebb736e7eb32889a8cc9c91b7 (patch)
tree888b6337097749d37c24b4290084b83881972800
parent90efbe0fad590150ad6586c038f9e3ac84780c45 (diff)
downloadsamba-0132cca82599839ebb736e7eb32889a8cc9c91b7.tar.gz
samba-0132cca82599839ebb736e7eb32889a8cc9c91b7.tar.bz2
samba-0132cca82599839ebb736e7eb32889a8cc9c91b7.zip
s3-gse Add const
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/librpc/crypto/gse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c
index a1ba3f31e1..867899a6b8 100644
--- a/source3/librpc/crypto/gse.c
+++ b/source3/librpc/crypto/gse.c
@@ -312,7 +312,7 @@ err_out:
static NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx,
struct gse_context *gse_ctx,
- DATA_BLOB *token_in,
+ const DATA_BLOB *token_in,
DATA_BLOB *token_out)
{
OM_uint32 gss_maj, gss_min;
@@ -461,7 +461,7 @@ done:
static NTSTATUS gse_get_server_auth_token(TALLOC_CTX *mem_ctx,
struct gse_context *gse_ctx,
- DATA_BLOB *token_in,
+ const DATA_BLOB *token_in,
DATA_BLOB *token_out)
{
OM_uint32 gss_maj, gss_min;
@@ -746,7 +746,7 @@ done:
}
static NTSTATUS gse_unseal(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx,
- DATA_BLOB *data, DATA_BLOB *signature)
+ DATA_BLOB *data, const DATA_BLOB *signature)
{
OM_uint32 gss_min, gss_maj;
gss_iov_buffer_desc iov[2];
@@ -824,7 +824,7 @@ done:
}
static NTSTATUS gse_sigcheck(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx,
- DATA_BLOB *data, DATA_BLOB *signature)
+ const DATA_BLOB *data, const DATA_BLOB *signature)
{
OM_uint32 gss_min, gss_maj;
gss_buffer_desc in_data = { 0, NULL };