Skip to content
Permalink
Browse files

Add SNI support

  • Loading branch information
Adam- committed Apr 7, 2015
1 parent ac5aebb commit 28aaa653cf681b7bf8500b073f74a255a6fb15eb
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/network-openssl.c
@@ -531,6 +531,10 @@ static GIOChannel *irssi_ssl_get_iochannel(GIOChannel *handle, int port, SERVER_
return NULL;
}

#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
SSL_set_tlsext_host_name(ssl, server->connrec->address);
#endif

SSL_set_mode(ssl, SSL_MODE_ENABLE_PARTIAL_WRITE |
SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);

0 comments on commit 28aaa65

Please sign in to comment.
You can’t perform that action at this time.