summaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-08-02 12:27:21 +0000
committerBodo Möller <bodo@openssl.org>2002-08-02 12:27:21 +0000
commit819ff32dc4aab5bcd3f2f9b517ef175978c1e9eb (patch)
tree89fa4a74c345fb02fdcb26c8a9d6d5f919f30e81 /crypto/err
parent5574e0ed417c9a09487a270fec3df34d3094f5c6 (diff)
New error code ERR_R_DISABLED
Submitted by: Douglas Stebila <douglas.stebila@sun.com>
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/err.c1
-rw-r--r--crypto/err/err.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c
index 5abe44e6d5..85ff9a52dd 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -208,6 +208,7 @@ static ERR_STRING_DATA ERR_str_reasons[]=
{ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED ,"called a function you should not call"},
{ERR_R_PASSED_NULL_PARAMETER ,"passed a null parameter"},
{ERR_R_INTERNAL_ERROR ,"internal error"},
+{ERR_R_DISABLED ,"called a function that was disabled at compile-time"},
{0,NULL},
};
diff --git a/crypto/err/err.h b/crypto/err/err.h
index 8728ff7c02..b591d11cd6 100644
--- a/crypto/err/err.h
+++ b/crypto/err/err.h
@@ -228,6 +228,7 @@ typedef struct err_state_st
#define ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED (2|ERR_R_FATAL)
#define ERR_R_PASSED_NULL_PARAMETER (3|ERR_R_FATAL)
#define ERR_R_INTERNAL_ERROR (4|ERR_R_FATAL)
+#define ERR_R_DISABLED (5|ERR_R_FATAL)
/* 99 is the maximum possible ERR_R_... code, higher values
* are reserved for the individual libraries */