summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2007-11-21 20:59:55 +0000
committerGraham Leggett <minfrin@apache.org>2007-11-21 20:59:55 +0000
commit6c79b8a8bf850ce59b7846df1b559019540f75ac (patch)
treef8fa14ada226df785e42e3431aad5712b2423bde /include
parent8b899757a73a2c9dfe5f41d5a6ba9bf92ba54661 (diff)
downloadapr-6c79b8a8bf850ce59b7846df1b559019540f75ac.tar.gz
Add error codes for the SSL EVP interface for apr-util.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@597206 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/apr_errno.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/apr_errno.h b/include/apr_errno.h
index 56014f885..bc253e6b0 100644
--- a/include/apr_errno.h
+++ b/include/apr_errno.h
@@ -245,6 +245,10 @@ APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf,
* APR_EBADIP The specified IP address is invalid
* APR_EBADMASK The specified netmask is invalid
* APR_ESYMNOTFOUND Could not find the requested symbol
+ * APR_ENOCIPHER Could not find the cipher specified
+ * APR_ENODIGEST Could not find the digest specified
+ * APR_ENOCERT Could not find the certificate specified
+ * APR_ENOENGINE Could not find the engine specified
* </PRE>
*
* <PRE>
@@ -335,6 +339,14 @@ APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf,
#define APR_EPROC_UNKNOWN (APR_OS_START_ERROR + 27)
/** @see APR_STATUS_IS_ENOTENOUGHENTROPY */
#define APR_ENOTENOUGHENTROPY (APR_OS_START_ERROR + 28)
+/** @see APR_STATUS_IS_ENOCIPHER */
+#define APR_ENOCIPHER (APR_OS_START_ERROR + 29)
+/** @see APR_STATUS_IS_ENODIGEST */
+#define APR_ENODIGEST (APR_OS_START_ERROR + 30)
+/** @see APR_STATUS_IS_ENOCERT */
+#define APR_ENOCERT (APR_OS_START_ERROR + 31)
+/** @see APR_STATUS_IS_ENOENGINE */
+#define APR_ENOENGINE (APR_OS_START_ERROR + 32)
/** @} */
/**
@@ -425,6 +437,14 @@ APR_DECLARE(char *) apr_strerror(apr_status_t statcode, char *buf,
/** APR could not gather enough entropy to continue. */
#define APR_STATUS_IS_ENOTENOUGHENTROPY(s) ((s) == APR_ENOTENOUGHENTROPY)
+/** APR not find the cipher specified. */
+#define APR_STATUS_IS_ENOCIPHER(s) ((s) == APR_ENOCIPHER)
+/** APR not find the digest specified. */
+#define APR_STATUS_IS_ENODIGEST(s) ((s) == APR_ENODIGEST)
+/** APR not find the certificate specified. */
+#define APR_STATUS_IS_ENOCERT(s) ((s) == APR_ENOCERT)
+/** APR not find the engine specified. */
+#define APR_STATUS_IS_ENOENGINE(s) ((s) == APR_ENOENGINE)
/** @} */