diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-07 23:47:30 -0500 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-08 12:53:20 -0500 |
commit | 64c711cd0e8c0d79f41563e84ee8c0710b4e78d8 (patch) | |
tree | 209dea925613e6c0f965cae6420f5b7317baea4c /include/openssl | |
parent | 7ff970ef55a1552e5a1acc6d337250c755b7fd0d (diff) | |
download | openssl-new-64c711cd0e8c0d79f41563e84ee8c0710b4e78d8.tar.gz |
Simplify deprecated declaration exception
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include/openssl')
-rw-r--r-- | include/openssl/crypto.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h index a85b021253..65f150ed60 100644 --- a/include/openssl/crypto.h +++ b/include/openssl/crypto.h @@ -431,13 +431,7 @@ int CRYPTO_THREADID_cmp(const CRYPTO_THREADID *a, const CRYPTO_THREADID *b); void CRYPTO_THREADID_cpy(CRYPTO_THREADID *dest, const CRYPTO_THREADID *src); unsigned long CRYPTO_THREADID_hash(const CRYPTO_THREADID *id); DEPRECATEDIN_1_0_0(void CRYPTO_set_id_callback(unsigned long (*func) (void))) -/* - * mkdef.pl cannot handle this next one so not inside DEPRECATEDIN_1_0_0, - * but still conditional on a lower or unknown source API version. - */ -# if OPENSSL_API_COMPAT < 0x10000000L -unsigned long (*CRYPTO_get_id_callback(void)) (void); -# endif +DEPRECATEDIN_1_0_0(unsigned long (*CRYPTO_get_id_callback(void)) (void)) DEPRECATEDIN_1_0_0(unsigned long CRYPTO_thread_id(void)) const char *CRYPTO_get_lock_name(int type); |