diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-02-12 09:36:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:02 -0500 |
commit | 10c928a94f6fafd79ae4c9e581c793bbf700a9b5 (patch) | |
tree | 7795c6fd972be7a6475ba9a90ff07639e2efd0ef | |
parent | 6ac408eef8af8e6feb4309708cf071bfe357f98f (diff) | |
download | samba-10c928a94f6fafd79ae4c9e581c793bbf700a9b5.tar.gz samba-10c928a94f6fafd79ae4c9e581c793bbf700a9b5.tar.bz2 samba-10c928a94f6fafd79ae4c9e581c793bbf700a9b5.zip |
r21291: add two more error codes
metze
(This used to be commit dd04c5dec58b18048ca5029f7bfe513242cbe4e9)
-rw-r--r-- | source4/libcli/util/doserr.c | 2 | ||||
-rw-r--r-- | source4/libcli/util/doserr.h | 4 |
2 files changed, 5 insertions, 1 deletions
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 |