From 10c928a94f6fafd79ae4c9e581c793bbf700a9b5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 12 Feb 2007 09:36:53 +0000 Subject: r21291: add two more error codes metze (This used to be commit dd04c5dec58b18048ca5029f7bfe513242cbe4e9) --- source4/libcli/util/doserr.c | 2 ++ source4/libcli/util/doserr.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c index 51a633238f..3f646f4be5 100644 --- a/source4/libcli/util/doserr.c +++ b/source4/libcli/util/doserr.c @@ -115,6 +115,8 @@ static const struct werror_code_struct dos_errs[] = { "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED }, { "WERR_NO_SHUTDOWN_IN_PROGRESS", WERR_NO_SHUTDOWN_IN_PROGRESS }, { "WERR_SHUTDOWN_ALREADY_IN_PROGRESS", WERR_SHUTDOWN_ALREADY_IN_PROGRESS }, + { "WERR_SEC_E_ENCRYPT_FAILURE", WERR_SEC_E_ENCRYPT_FAILURE }, + { "WERR_SEC_E_DECRYPT_FAILURE", WERR_SEC_E_DECRYPT_FAILURE }, { "WERR_SEC_E_ALGORITHM_MISMATCH", WERR_SEC_E_ALGORITHM_MISMATCH }, { NULL, W_ERROR(0) } }; diff --git a/source4/libcli/util/doserr.h b/source4/libcli/util/doserr.h index 79bbb1a4d8..69499c17e9 100644 --- a/source4/libcli/util/doserr.h +++ b/source4/libcli/util/doserr.h @@ -280,7 +280,9 @@ #define WERR_DS_DUP_MSDS_INTID W_ERROR(0x00002195) /* SEC errors */ -#define WERR_SEC_E_ALGORITHM_MISMATCH W_ERROR(0x80090331) +#define WERR_SEC_E_ENCRYPT_FAILURE W_ERROR(0x80090329) +#define WERR_SEC_E_DECRYPT_FAILURE W_ERROR(0x80090330) +#define WERR_SEC_E_ALGORITHM_MISMATCH W_ERROR(0x80090331) #define WERR_FOOBAR WERR_GENERAL_FAILURE -- cgit