aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-10-06 14:47:00 +0100
committerMatt Caswell <matt@openssl.org>2015-11-20 23:34:35 +0000
commit079a1a9014b89661f0a612a5a9724ad9c77f21a3 (patch)
tree2e04061d51e78ff7c6e53bdd2440497c9cbcc0c6 /crypto/err
parent9c8dc051d0a1293279bbf289b5f324824a02405b (diff)
downloadopenssl-079a1a9014b89661f0a612a5a9724ad9c77f21a3.tar.gz
Add ASYNC error codes
Add ASYNCerr support to give some meaningful error message in the event of a failure. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/err.c1
-rw-r--r--crypto/err/err_all.c2
-rw-r--r--crypto/err/openssl.ec1
3 files changed, 4 insertions, 0 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c
index 077929c295..b7ca3ded05 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -157,6 +157,7 @@ static ERR_STRING_DATA ERR_str_libraries[] = {
{ERR_PACK(ERR_LIB_FIPS, 0, 0), "FIPS routines"},
{ERR_PACK(ERR_LIB_CMS, 0, 0), "CMS routines"},
{ERR_PACK(ERR_LIB_HMAC, 0, 0), "HMAC routines"},
+ {ERR_PACK(ERR_LIB_ASYNC, 0, 0), "ASYNC routines"},
{0, NULL},
};
diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c
index d9a2a57682..baf76e7e26 100644
--- a/crypto/err/err_all.c
+++ b/crypto/err/err_all.c
@@ -106,6 +106,7 @@
# include <openssl/jpake.h>
#endif
#include <internal/ct_int.h>
+#include <openssl/async.h>
void ERR_load_crypto_strings(void)
{
@@ -165,5 +166,6 @@ void ERR_load_crypto_strings(void)
# ifndef OPENSSL_NO_CT
ERR_load_CT_strings();
# endif
+ ERR_load_ASYNC_strings();
#endif
}
diff --git a/crypto/err/openssl.ec b/crypto/err/openssl.ec
index 8a10b80b04..0d308a9ad9 100644
--- a/crypto/err/openssl.ec
+++ b/crypto/err/openssl.ec
@@ -36,6 +36,7 @@ L HMAC include/openssl/hmac.h crypto/hmac/hmac_err.c
L CMS include/openssl/cms.h crypto/cms/cms_err.c
L JPAKE include/openssl/jpake.h crypto/jpake/jpake_err.c
L FIPS include/openssl/fips.h crypto/fips_err.h
+L ASYNC include/openssl/async.h crypto/async/async_err.c
# additional header files to be scanned for function names
L NONE crypto/x509/x509_vfy.h NONE