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 12d9bb3..03e2c40 100644 --- a/src/idevice.c +++ b/src/idevice.c | |||
@@ -1205,7 +1205,7 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_connection_enable_ssl(idevice_conne | |||
1205 | SSL_CTX_set_max_proto_version(ssl_ctx, TLS1_VERSION); | 1205 | SSL_CTX_set_max_proto_version(ssl_ctx, TLS1_VERSION); |
1206 | } | 1206 | } |
1207 | #endif | 1207 | #endif |
1208 | #if (OPENSSL_VERSION_MAJOR >= 3) | 1208 | #if OPENSSL_VERSION_NUMBER >= 0x30000000L |
1209 | #if defined(SSL_OP_IGNORE_UNEXPECTED_EOF) | 1209 | #if defined(SSL_OP_IGNORE_UNEXPECTED_EOF) |
1210 | /* | 1210 | /* |
1211 | * For OpenSSL 3 and later, mark close_notify alerts as optional. | 1211 | * For OpenSSL 3 and later, mark close_notify alerts as optional. |