I can confirm that below diff, makes wget work on TLSv1.2-only site again.

On Wed, Nov 19, 2014 at 09:04:55PM +0100, Jérémie Courr??ges-Anglas wrote:
> Index: patches/patch-src_openssl_c
> ===================================================================
> RCS file: /cvs/ports/net/wget/patches/patch-src_openssl_c,v
> retrieving revision 1.8
> diff -u -p -r1.8 patch-src_openssl_c
> --- patches/patch-src_openssl_c       5 Nov 2014 22:11:40 -0000       1.8
> +++ patches/patch-src_openssl_c       19 Nov 2014 19:17:15 -0000
> @@ -1,6 +1,6 @@
>  $OpenBSD: patch-src_openssl_c,v 1.8 2014/11/05 22:11:40 naddy Exp $
>  --- src/openssl.c.orig       Mon Oct 27 09:15:33 2014
> -+++ src/openssl.c    Tue Nov  4 22:27:21 2014
> ++++ src/openssl.c    Wed Nov 19 20:17:05 2014
>  @@ -89,9 +89,11 @@ init_prng (void)
>     if (RAND_status ())
>       return;
> @@ -13,3 +13,12 @@ $OpenBSD: patch-src_openssl_c,v 1.8 2014
>   
>     if (RAND_status ())
>       return;
> +@@ -213,6 +215,8 @@ ssl_init (void)
> +       break;
> +     case secure_protocol_auto:
> +     case secure_protocol_pfs:
> ++      meth = SSLv23_client_method ();
> ++      break;
> +     case secure_protocol_tlsv1:
> +       meth = TLSv1_client_method ();
> +       break;
> 

-- 
best regards
q#

Reply via email to