From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 18 07:59:24 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B7B84BAC for ; Fri, 18 Jul 2014 07:59:24 +0000 (UTC) Received: from huppa.tuxaco.net (tuxaco.net [IPv6:2001:41d0:1:66c1::1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 82E0A2613 for ; Fri, 18 Jul 2014 07:59:21 +0000 (UTC) Received: by huppa.tuxaco.net (Postfix, from userid 1001) id A0DF72283E; Fri, 18 Jul 2014 09:59:17 +0200 (CEST) Date: Fri, 18 Jul 2014 09:59:17 +0200 From: Philippe =?iso-8859-1?Q?Aud=E9oud?= To: George Amanakis Subject: Re: Bug in IO::Socket::SSL Message-ID: <20140718075917.GA63868@tuxaco.net> References: <53C8CAFD.8020608@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <53C8CAFD.8020608@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports-bugs@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 07:59:24 -0000 On Fri, 18 Jul 2014, George Amanakis wrote: > Dear all, >=20 > I 've discovered a bug in p5-IO-Socket-SSL. The following program does=20 > not work (both on FreeBSD 9.2 and 10): >=20 > ------------------------- > #!/usr/bin/perl >=20 > use strict; > use IO::Socket::SSL; >=20 > my $cl =3D IO::Socket::SSL->new( > PeerAddr =3D> 'www.google.com', > PeerPort =3D> 443, > SSL_ca_file =3D> '/usr/local/share/certs/ca-root-nss.crt'); >=20 > print $cl "GET / HTTP/1.0\r\n\r\n"; > print <$cl>; >=20 > ------------------------- >=20 > i.e. it produces no output meaning it seems no respond comes from the=20 > socket. Changing to IO::Socket::INET and PeerPort to 80 produces=20 > expected output. The same code in Archlinux works as expected. Hello, I will have a look but I think you can also contact IO::Socket::SSL's author. Regards, --=20 Philippe Aud=E9oud