[go: nahoru, domu]

Skip to content

Commit

Permalink
Added simple support for SNI in LibWhisker
Browse files Browse the repository at this point in the history
  • Loading branch information
tautology0 committed Apr 3, 2019
1 parent b2a8ff8 commit 9bd8801
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions program/plugins/LW2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5208,6 +5208,8 @@ sub _stream_ssl_open {

return _stream_err( $xr, 0, 'ssl create new' )
if ( !( $xr->{sslobj} = Net::SSLeay::new( $xr->{ctx} ) ) );
# SNI stuff
Net::SSLeay::set_tlsext_host_name($xr->{sslobj}, $W->{host});
if ( defined $W->{ssl_ciphers} ) {
if (
!(
Expand Down

0 comments on commit 9bd8801

Please sign in to comment.