Date: Fri, 9 Sep 2016 22:22:43 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421640 - in head/comms/libimobiledevice: . files Message-ID: <201609092222.u89MMhBi000683@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609092222.u89MMhBi000683>