diff options
author | Benjamin Kaduk <bkaduk@akamai.com> | 2016-12-08 12:01:31 -0600 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-12-12 08:23:03 -0500 |
commit | 036ba500f7886ca2e7231549fa574ec2cdd45cef (patch) | |
tree | 4ebc0351c509c82c92171fcd84affb2c71da2d80 /include | |
parent | 4bf086005fe5ebcda5dc4d48ff701b41ab9b07f0 (diff) |
Restore the ERR_FATAL_ERROR() macro
Commit 0cd0a820abc6124cf8e176fa92d620a2abf9e419 removed this macro
along with many unused function and reason codes; ERR_FATAL_ERROR()
was not used in the tree, but did have external consumers.
Add it back to restore the API compatibility and avoid breaking
applications for no internal benefit.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2049)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/err.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/err.h b/include/openssl/err.h index f9390919ab..904cf3a59e 100644 --- a/include/openssl/err.h +++ b/include/openssl/err.h @@ -140,6 +140,7 @@ typedef struct err_state_st { # define ERR_GET_LIB(l) (int)(((l) >> 24L) & 0x0FFL) # define ERR_GET_FUNC(l) (int)(((l) >> 12L) & 0xFFFL) # define ERR_GET_REASON(l) (int)( (l) & 0xFFFL) +# define ERR_FATAL_ERROR(l) (int)( (l) & ERR_R_FATAL) /* OS functions */ # define SYS_F_FOPEN 1 |