summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-07-26 18:11:55 +0200
committerRichard Levitte <levitte@openssl.org>2019-09-12 18:34:06 +0200
commite5d4233fbd07eac52227c7ec5f479a46f15914bf (patch)
treeb1721a511174bca38d434ea844baae1187e30d38 /include
parent14e275e8fb736be4ea83441b630515f7be97d06b (diff)
Deprecate ERR_get_state()
Internally, we still need this function, so we make it internal and then add a new ERR_get_state() that simply calls the internal variant, unless it's "removed" by configuration. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9462)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/err.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/err.h b/include/openssl/err.h
index fc7326b7c9..d7427898c8 100644
--- a/include/openssl/err.h
+++ b/include/openssl/err.h
@@ -333,7 +333,7 @@ int ERR_load_ERR_strings(void);
DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *))
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
-ERR_STATE *ERR_get_state(void);
+DEPRECATEDIN_3(ERR_STATE *ERR_get_state(void))
int ERR_get_next_error_library(void);