diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2014-10-15 15:44:41 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2014-10-15 15:44:41 +0000 |
commit | 1e031a5acaf339c80a2eeb256a08eb0d691a7d13 (patch) | |
tree | 59530421161ac6310eb9ccd95085a6f8a8407b9c | |
parent | - Update to 3.2.19 (diff) |
- Allow svnup to work with TLS; SSLv3 is being disabled due to POODLE.
PR: 194241
Submitted by: spil.oss@gmail.com
Obtained from: Merged in upstream
MFH: 2014Q4
Notes
Notes:
svn path=/head/; revision=370930
Diffstat (limited to '')
-rw-r--r-- | net/svnup/Makefile | 1 | ||||
-rw-r--r-- | net/svnup/files/patch-svnup.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net/svnup/Makefile b/net/svnup/Makefile index c2c74578be9f..8b5d3270ace7 100644 --- a/net/svnup/Makefile +++ b/net/svnup/Makefile @@ -2,6 +2,7 @@ PORTNAME= svnup PORTVERSION= 1.06 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://jcm.dsl.visi.com/freebsd/svnup/ \ LOCAL/jgh/net/${PORTNAME}/ diff --git a/net/svnup/files/patch-svnup.c b/net/svnup/files/patch-svnup.c new file mode 100644 index 000000000000..5c79303d945f --- /dev/null +++ b/net/svnup/files/patch-svnup.c @@ -0,0 +1,11 @@ +--- svnup.c.orig 2014-09-06 03:16:15.000000000 +0200 ++++ svnup.c 2014-10-08 15:11:07.593705013 +0200 +@@ -355,7 +355,7 @@ + SSL_load_error_strings(); + connection->ctx = SSL_CTX_new(SSLv23_client_method()); + SSL_CTX_set_mode(connection->ctx, SSL_MODE_AUTO_RETRY); +- SSL_CTX_set_options(connection->ctx, SSL_OP_ALL | SSL_OP_NO_TICKET | SSL_OP_NO_TLSv1); ++ SSL_CTX_set_options(connection->ctx, SSL_OP_ALL | SSL_OP_NO_TICKET); + + if ((connection->ssl = SSL_new(connection->ctx)) == NULL) + err(EXIT_FAILURE, "reset_connection: SSL_new"); |