mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
comms/libimobiledevice: Handle missing SSLv3 case
Approved by: SSL blanket
This commit is contained in:
parent
be88cafb1e
commit
73b9b079f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421640
@ -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"
|
||||
|
11
comms/libimobiledevice/files/patch-src_idevice.c
Normal file
11
comms/libimobiledevice/files/patch-src_idevice.c
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user