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:
parent
56fb3ce083
commit
4aa217bb06
@ -39,7 +39,7 @@ static WERROR drsuapi_decrypt_attribute_value(TALLOC_CTX *mem_ctx,
|
|||||||
const DATA_BLOB *gensec_skey,
|
const DATA_BLOB *gensec_skey,
|
||||||
bool rid_crypt,
|
bool rid_crypt,
|
||||||
uint32_t rid,
|
uint32_t rid,
|
||||||
DATA_BLOB *in,
|
const DATA_BLOB *in,
|
||||||
DATA_BLOB *out)
|
DATA_BLOB *out)
|
||||||
{
|
{
|
||||||
DATA_BLOB confounder;
|
DATA_BLOB confounder;
|
||||||
@ -230,7 +230,7 @@ static WERROR drsuapi_encrypt_attribute_value(TALLOC_CTX *mem_ctx,
|
|||||||
const DATA_BLOB *gensec_skey,
|
const DATA_BLOB *gensec_skey,
|
||||||
bool rid_crypt,
|
bool rid_crypt,
|
||||||
uint32_t rid,
|
uint32_t rid,
|
||||||
DATA_BLOB *in,
|
const DATA_BLOB *in,
|
||||||
DATA_BLOB *out)
|
DATA_BLOB *out)
|
||||||
{
|
{
|
||||||
DATA_BLOB rid_crypt_out = data_blob(NULL, 0);
|
DATA_BLOB rid_crypt_out = data_blob(NULL, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user