svn commit: r421640 - in head/comms/libimobiledevice: . files
John Marino
marino at FreeBSD.org
Fri Sep 9 22:22:44 UTC 2016
Author: marino
Date: Fri Sep 9 22:22:43 2016
New Revision: 421640
URL: https://svnweb.freebsd.org/changeset/ports/421640
Log:
comms/libimobiledevice: Handle missing SSLv3 case
Approved by: SSL blanket
Added:
head/comms/libimobiledevice/files/patch-src_idevice.c (contents, props changed)
Modified:
head/comms/libimobiledevice/Makefile
Modified: head/comms/libimobiledevice/Makefile
==============================================================================
--- head/comms/libimobiledevice/Makefile Fri Sep 9 22:07:48 2016 (r421639)
+++ head/comms/libimobiledevice/Makefile Fri Sep 9 22:22:43 2016 (r421640)
@@ -13,8 +13,7 @@ LICENSE?= LGPL21
SLAVE_PORT?= no
-USES+= cpe libtool pathfix pkgconfig tar:bzip2
-USE_OPENSSL= yes
+USES+= cpe libtool pathfix pkgconfig ssl tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=openssl_CFLAGS="-I${OPENSSLINC}" \
openssl_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
Added: head/comms/libimobiledevice/files/patch-src_idevice.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/libimobiledevice/files/patch-src_idevice.c Fri Sep 9 22:22:43 2016 (r421640)
@@ -0,0 +1,11 @@
+--- src/idevice.c.orig 2015-01-28 01:10:32 UTC
++++ 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);
More information about the svn-ports-head
mailing list