Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP4:Update
perl-LWP-Protocol-https
0001-Explicitly-add-hostname-for-SNI-to-start_S...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Explicitly-add-hostname-for-SNI-to-start_SSL.patch of Package perl-LWP-Protocol-https
From 506d7794c8b32b0ff0b7361a8ec5e13c801fb351 Mon Sep 17 00:00:00 2001 From: Steffen Ullrich <Steffen_Ullrich@genua.de> Date: Mon, 14 Jul 2014 20:50:30 +0200 Subject: [PATCH] Explicitly add hostname for SNI to start_SSL Sometimes IO::Socket::SSL fails to detect the proper hostname for SNI from PeerHost inside start_SSL. This way the name is explicitly given. --- lib/LWP/Protocol/https.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/LWP/Protocol/https.pm b/lib/LWP/Protocol/https.pm index 413f81a..ed4d832 100644 --- a/lib/LWP/Protocol/https.pm +++ b/lib/LWP/Protocol/https.pm @@ -153,6 +153,7 @@ if ( $Net::HTTPS::SSL_SOCKET_CLASS->can('start_SSL')) { my ($self,$sock,$url) = @_; $sock = LWP::Protocol::https::Socket->start_SSL( $sock, SSL_verifycn_name => $url->host, + SSL_hostname => $url->host, $self->_extra_sock_opts, ); $@ = LWP::Protocol::https::Socket->errstr if ! $sock; -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor