summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDirk-Willem van Gulik <dirkx@apache.org>2017-01-19 17:58:57 +0000
committerDirk-Willem van Gulik <dirkx@apache.org>2017-01-19 17:58:57 +0000
commitc34799cd198d695177c37f6d60587d86ce5ba2ea (patch)
treefea635fd83fa1a653ef9b6b71c8e7a9f7e8f3424 /misc
parent183e2a12e6e1f418af5bdb682acec56e268b7039 (diff)
downloadapr-c34799cd198d695177c37f6d60587d86ce5ba2ea.tar.gz
Add a few error code strings that got lost/awal in the apr-util migration.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1779500 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r--misc/unix/errorcodes.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/unix/errorcodes.c b/misc/unix/errorcodes.c
index f553a37b6..4f9b1d924 100644
--- a/misc/unix/errorcodes.c
+++ b/misc/unix/errorcodes.c
@@ -19,6 +19,8 @@
#include "apr_lib.h"
#include "apr_dso.h"
+#include "apu_errno.h"
+
#if APR_HAVE_NETDB_H
#include <netdb.h>
#endif
@@ -139,6 +141,15 @@ static char *apr_error_string(apr_status_t statcode)
return "The process is not recognized.";
case APR_EGENERAL:
return "Internal error (specific information not available)";
+
+/* APR Util error codes */
+ case APR_ECRYPT:
+ return "Internal error in the crypto subsystem (specific information not available)";
+ case APR_ENOENGINE:
+ return "No engine found for crypto subsystem";
+ case APR_EINITENGINE:
+ return "Failed to init engine for crypto subsystem";
+
default:
return "Error string not specified yet";
}