summaryrefslogtreecommitdiff
path: root/libcli/security/secdesc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/security/secdesc.c')
-rw-r--r--libcli/security/secdesc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/security/secdesc.c b/libcli/security/secdesc.c
index 2c8fbc59ca..fcd0828963 100644
--- a/libcli/security/secdesc.c
+++ b/libcli/security/secdesc.c
@@ -261,7 +261,7 @@ struct security_descriptor *dup_sec_desc(TALLOC_CTX *ctx, const struct security_
Convert a secdesc into a byte stream
********************************************************************/
NTSTATUS marshall_sec_desc(TALLOC_CTX *mem_ctx,
- struct security_descriptor *secdesc,
+ const struct security_descriptor *secdesc,
uint8_t **data, size_t *len)
{
DATA_BLOB blob;
@@ -287,7 +287,7 @@ NTSTATUS marshall_sec_desc(TALLOC_CTX *mem_ctx,
********************************************************************/
NTSTATUS marshall_sec_desc_buf(TALLOC_CTX *mem_ctx,
- struct sec_desc_buf *secdesc_buf,
+ const struct sec_desc_buf *secdesc_buf,
uint8_t **data, size_t *len)
{
DATA_BLOB blob;