at 16.09-beta 759 B view raw
1From e19de4f0d4cb70e30017edfc6b4ca1b89ffbd381 Mon Sep 17 00:00:00 2001 2From: Franz Pletz <fpletz@fnordicwalking.de> 3Date: Thu, 14 Jan 2016 14:58:23 +0100 4Subject: [PATCH] Disable SSLv3 5 6--- 7 src/idevice.c | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10diff --git a/src/idevice.c b/src/idevice.c 11index ce27495..8f03094 100644 12--- a/src/idevice.c 13+++ b/src/idevice.c 14@@ -678,7 +678,7 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_connection_enable_ssl(idevice_conne 15 } 16 BIO_set_fd(ssl_bio, (int)(long)connection->data, BIO_NOCLOSE); 17 18- SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv3_method()); 19+ SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv23_method()); 20 if (ssl_ctx == NULL) { 21 debug_info("ERROR: Could not create SSL context."); 22 BIO_free(ssl_bio); 23-- 242.7.0 25