mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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>
This commit is contained in:
parent
08586e2824
commit
d013dc4af1
@ -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
|
||||
|
@ -125,7 +125,6 @@ static const struct werror_code_struct dos_errs[] =
|
||||
{ "WERR_DNS_ERROR_DP_ALREADY_ENLISTED", WERR_DNS_ERROR_DP_ALREADY_ENLISTED },
|
||||
{ "WERR_DNS_ERROR_DP_NOT_AVAILABLE", WERR_DNS_ERROR_DP_NOT_AVAILABLE },
|
||||
{ "WERR_DNS_ERROR_DP_FSMO_ERROR", WERR_DNS_ERROR_DP_FSMO_ERROR },
|
||||
{ "WERR_SEC_E_DECRYPT_FAILURE", WERR_SEC_E_DECRYPT_FAILURE },
|
||||
{ "WERR_SEC_E_ALGORITHM_MISMATCH", WERR_SEC_E_ALGORITHM_MISMATCH },
|
||||
{ "WERR_RPC_E_REMOTE_DISABLED", WERR_RPC_E_REMOTE_DISABLED },
|
||||
/*****************************************************************************
|
||||
|
@ -107,7 +107,6 @@ typedef uint32_t WERROR;
|
||||
#define WERR_RPC_E_REMOTE_DISABLED W_ERROR(0x8001011c)
|
||||
|
||||
/* SEC errors */
|
||||
#define WERR_SEC_E_DECRYPT_FAILURE W_ERROR(0x80090330)
|
||||
#define WERR_SEC_E_ALGORITHM_MISMATCH W_ERROR(0x80090331)
|
||||
|
||||
/* Generic error code aliases */
|
||||
|
Loading…
Reference in New Issue
Block a user