diff options
author | dirkx <dirkx@13f79535-47bb-0310-9956-ffa450edef68> | 2017-01-19 17:58:57 +0000 |
---|---|---|
committer | dirkx <dirkx@13f79535-47bb-0310-9956-ffa450edef68> | 2017-01-19 17:58:57 +0000 |
commit | 99920bb732d30a2d145030316f90bb8949b3964b (patch) | |
tree | fea635fd83fa1a653ef9b6b71c8e7a9f7e8f3424 /misc | |
parent | 8f202aad6a83ccf201974eabfd0535d45653c297 (diff) | |
download | libapr-99920bb732d30a2d145030316f90bb8949b3964b.tar.gz |
Add a few error code strings that got lost/awal in the apr-util migration.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1779500 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r-- | misc/unix/errorcodes.c | 11 |
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"; } |