summaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2014-12-17 13:30:41 +0000
committerMatt Caswell <matt@openssl.org>2014-12-18 19:57:14 +0000
commit53e95716f5c11a8a9cbdcbbb3be0e8e538b5a2ea (patch)
treebc12310b023becd6c88c456b5b59a2b301eeed4d /crypto/err
parent5bafb04d2e8a792afbc97395410ef3291f3fbc8b (diff)
Change all instances of OPENSSL_NO_DEPRECATED to OPENSSL_USE_DEPRECATED
Introduce use of DECLARE_DEPRECATED Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/err.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/err/err.h b/crypto/err/err.h
index 974cc9cc6f..2a00e2805f 100644
--- a/crypto/err/err.h
+++ b/crypto/err/err.h
@@ -354,8 +354,8 @@ void ERR_load_crypto_strings(void);
void ERR_free_strings(void);
void ERR_remove_thread_state(const CRYPTO_THREADID *tid);
-#ifndef OPENSSL_NO_DEPRECATED
-void ERR_remove_state(unsigned long pid); /* if zero we look it up */
+#ifdef OPENSSL_USE_DEPRECATED
+DECLARE_DEPRECATED(void ERR_remove_state(unsigned long pid)); /* if zero we look it up */
#endif
ERR_STATE *ERR_get_state(void);