summaryrefslogtreecommitdiff
path: root/libcli/drsuapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-12-09 15:55:59 +0100
committerJeremy Allison <jra@samba.org>2016-09-28 00:04:35 +0200
commitd013dc4af166a597ab23ceb8b944524709c694d3 (patch)
treef6334d573a2d2f86aa683859c3263529fb725f47 /libcli/drsuapi
parent08586e282410b7b21210454ced332d4bd190641a (diff)
downloadsamba-d013dc4af166a597ab23ceb8b944524709c694d3.tar.gz
werror: replace WERR_SEC_E_DECRYPT_FAILURE with HRES_SEC_E_DECRYPT_FAILURE
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/drsuapi')
-rw-r--r--libcli/drsuapi/repl_decrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/drsuapi/repl_decrypt.c b/libcli/drsuapi/repl_decrypt.c
index 275dac4a108..c370f2e3bf5 100644
--- a/libcli/drsuapi/repl_decrypt.c
+++ b/libcli/drsuapi/repl_decrypt.c
@@ -101,7 +101,7 @@ WERROR drsuapi_decrypt_attribute_value(TALLOC_CTX *mem_ctx,
W_ERROR_HAVE_NO_MEMORY(plain_buffer.data);
if (crc32_given != crc32_calc) {
- return WERR_SEC_E_DECRYPT_FAILURE;
+ return W_ERROR(HRES_ERROR_V(HRES_SEC_E_DECRYPT_FAILURE));
}
/*
* The following rid_crypt obfuscation isn't session specific