1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libcli/drsuapi: Add const to *in parameters to drsuapi_{en,de}crypt_attribute_value()

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Andrew Bartlett 2019-06-27 14:17:44 +12:00 committed by Andreas Schneider
parent 56fb3ce083
commit 4aa217bb06

View File

@ -39,7 +39,7 @@ static WERROR drsuapi_decrypt_attribute_value(TALLOC_CTX *mem_ctx,
const DATA_BLOB *gensec_skey,
bool rid_crypt,
uint32_t rid,
DATA_BLOB *in,
const DATA_BLOB *in,
DATA_BLOB *out)
{
DATA_BLOB confounder;
@ -230,7 +230,7 @@ static WERROR drsuapi_encrypt_attribute_value(TALLOC_CTX *mem_ctx,
const DATA_BLOB *gensec_skey,
bool rid_crypt,
uint32_t rid,
DATA_BLOB *in,
const DATA_BLOB *in,
DATA_BLOB *out)
{
DATA_BLOB rid_crypt_out = data_blob(NULL, 0);