libimobiledevice/libimobiledevice-nosslv3.patch
Ismail Dönmez 158b3c36da Accepting request 317451 from home:elvigia:branches:hardware
- libimobiledevice-nosslv3.patch: In tumbleweed, SSLv3_method 
  fails because there is no sslv3 support, use SSLv233_method instead
  to negotiate the highest TLS version available.

OBS-URL: https://build.opensuse.org/request/show/317451
OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=6
2015-07-19 12:32:15 +00:00

12 lines
422 B
Diff

--- libimobiledevice-1.2.0.orig/src/idevice.c
+++ libimobiledevice-1.2.0/src/idevice.c
@@ -678,7 +678,7 @@ LIBIMOBILEDEVICE_API idevice_error_t ide
}
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(SSLv23_method());
if (ssl_ctx == NULL) {
debug_info("ERROR: Could not create SSL context.");
BIO_free(ssl_bio);