diff options
| -rw-r--r-- | src/idevice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevice.c b/src/idevice.c index fea1e03..47c9ab4 100644 --- a/src/idevice.c +++ b/src/idevice.c | |||
| @@ -1015,7 +1015,7 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_connection_enable_ssl(idevice_conne | |||
| 1015 | return ret; | 1015 | return ret; |
| 1016 | } | 1016 | } |
| 1017 | 1017 | ||
| 1018 | #if OPENSSL_VERSION_NUMBER >= 0x10100000L | 1018 | #if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) |
| 1019 | SSL_CTX_set_security_level(ssl_ctx, 0); | 1019 | SSL_CTX_set_security_level(ssl_ctx, 0); |
| 1020 | #endif | 1020 | #endif |
| 1021 | 1021 | ||
