aboutsummaryrefslogtreecommitdiff
path: root/include/openssl/err.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-07-24 12:56:58 +0200
committerRichard Levitte <levitte@openssl.org>2019-07-31 06:42:37 +0200
commit8a4dc425cc73040c55bc01d89c5541e37dab939a (patch)
tree79381a41b0118e2261e21829de25255d17f7c0e7 /include/openssl/err.h
parente039ca38c8d77f1e2f182123727c884aaf2d683d (diff)
downloadopenssl-8a4dc425cc73040c55bc01d89c5541e37dab939a.zip
openssl-8a4dc425cc73040c55bc01d89c5541e37dab939a.tar.gz
openssl-8a4dc425cc73040c55bc01d89c5541e37dab939a.tar.bz2
ERR: refactor useful inner macros to err_locl.h. Add function name field
The useful inner macros are now static inline functions. That will make them easier to debug in the future. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9452)
Diffstat (limited to 'include/openssl/err.h')
-rw-r--r--include/openssl/err.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/err.h b/include/openssl/err.h
index e84bc68..acecca4 100644
--- a/include/openssl/err.h
+++ b/include/openssl/err.h
@@ -50,6 +50,7 @@ typedef struct err_state_st {
int err_data_flags[ERR_NUM_ERRORS];
const char *err_file[ERR_NUM_ERRORS];
int err_line[ERR_NUM_ERRORS];
+ const char *err_func[ERR_NUM_ERRORS];
int top, bottom;
} ERR_STATE;