This diff switches p5-Net-TCLink to using SSLv23_client_method().
I have no idea whether TrustedCommerce supports TLSv1+ since the default
host (used by the "test suite") is unreachable.

Does anyone still use this?  (Chris?)  If so, please say whether the
port is in a usable state.

Else I propose to just delete it.

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/p5-Net-TCLink/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile    16 Jul 2015 23:57:26 -0000      1.5
+++ Makefile    18 Jul 2015 22:13:25 -0000
@@ -7,7 +7,7 @@ COMMENT=                interface to TrustCommerce gat
 MODULES=               cpan
 DISTNAME=              Net_TCLink.pm-3.4
 PKGNAME=               p5-Net-TCLink-3.4
-REVISION=              2
+REVISION=              3
 CATEGORIES=            net
 CPAN_AUTHOR=           WITTEN
 
Index: patches/patch-tclink_c
===================================================================
RCS file: patches/patch-tclink_c
diff -N patches/patch-tclink_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-tclink_c      18 Jul 2015 22:13:25 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- tclink.c.orig      Sat Jul 18 12:50:03 2015
++++ tclink.c   Sat Jul 18 12:50:28 2015
+@@ -539,7 +539,7 @@ static int Connect(TCLinkCon *c, int host_hash)
+       {
+               do_SSL_randomize();        /* handle systems without 
/dev/urandom */
+               SSLeay_add_ssl_algorithms();
+-              c->meth = SSLv3_client_method();
++              c->meth = SSLv23_client_method();
+       }
+ 
+       if (!c->ctx)


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to