summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/util/doserr.c2
-rw-r--r--source4/libcli/util/doserr.h4
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