mirror of
git://slackware.nl/current.git
synced 2025-01-14 08:01:11 +01:00
14 lines
487 B
Diff
14 lines
487 B
Diff
|
diff --git a/src/idevice.c b/src/idevice.c
|
||
|
index f2de6a3..1dcdae2 100644
|
||
|
--- a/src/idevice.c
|
||
|
+++ b/src/idevice.c
|
||
|
@@ -703,7 +703,7 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_connection_enable_ssl(idevice_conne
|
||
|
}
|
||
|
BIO_set_fd(ssl_bio, (int)(long)connection->data, BIO_NOCLOSE);
|
||
|
|
||
|
- SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv3_method());
|
||
|
+ SSL_CTX *ssl_ctx = SSL_CTX_new(TLSv1_method());
|
||
|
if (ssl_ctx == NULL) {
|
||
|
debug_info("ERROR: Could not create SSL context.");
|
||
|
BIO_free(ssl_bio);
|