diff options
author | Christophe Fergeau | 2017-04-25 16:59:15 +0200 |
---|---|---|
committer | Christophe Fergeau | 2017-04-26 15:21:02 +0200 |
commit | b89e4823ef9528936072f5f195d7fdab9e1f838b (patch) | |
tree | 800e290660f43fef73a458a32c6bd8ef63abdb95 /src/afc.c | |
parent | f635812ccc9b2eb63f5bc2b494d7fdae9c9e1ef3 (diff) | |
download | libimobiledevice-b89e4823ef9528936072f5f195d7fdab9e1f838b.tar.gz libimobiledevice-b89e4823ef9528936072f5f195d7fdab9e1f838b.tar.bz2 |
#ifdef out code which is a no-op with OpenSSL 1.1.0
CRYPTO_set_id_callback
CRYPTO_set_locking_callback
EVP_cleanup
CRYPTO_cleanup_all_ex_data
SSL_COMP_free_compression_methods
are all no-ops with OpenSSL 1.1.0, so we can #ifdef out the
corresponding code. This cleans up some warnings about
id_function/locking_function being defined but unused (as the calls to
CRYPTO_set_id_callback and CRYPTO_set_locking_callback disappear at
preprocessing time).
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Diffstat (limited to 'src/afc.c')
0 files changed, 0 insertions, 0 deletions