diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-02 20:38:31 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-18 16:23:23 +0100 |
commit | 0132cca82599839ebb736e7eb32889a8cc9c91b7 (patch) | |
tree | 888b6337097749d37c24b4290084b83881972800 /source3/librpc/crypto | |
parent | 90efbe0fad590150ad6586c038f9e3ac84780c45 (diff) | |
download | samba-0132cca82599839ebb736e7eb32889a8cc9c91b7.tar.gz samba-0132cca82599839ebb736e7eb32889a8cc9c91b7.tar.xz samba-0132cca82599839ebb736e7eb32889a8cc9c91b7.zip |
s3-gse Add const
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/librpc/crypto')
-rw-r--r-- | source3/librpc/crypto/gse.c | 8 |
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 }; |