git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56fb3ce
)
libcli/drsuapi: Add const to *in parameters to drsuapi_{en,de}crypt_attribute_value()
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 27 Jun 2019 02:17:44 +0000
(14:17 +1200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 27 Jun 2019 12:54:22 +0000
(12:54 +0000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
libcli/drsuapi/repl_decrypt.c
patch
|
blob
|
history
diff --git
a/libcli/drsuapi/repl_decrypt.c
b/libcli/drsuapi/repl_decrypt.c
index 3569f990472db16a2dd74e5bfcd3ff7242111e9c..54e8ad0d8f6bdd5b508952df1d243ab15e9f2dbc 100644
(file)
--- a/
libcli/drsuapi/repl_decrypt.c
+++ b/
libcli/drsuapi/repl_decrypt.c
@@
-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);