pidgin/pidgin

Implement SNI support for the gnutls SSL plugin.
release-2.x.y
2019-12-16, Mihai Moldovan
6dba8046e1b1
Implement SNI support for the gnutls SSL plugin.

Note that gnutls is picky in regard to what it accepts as the server name - it
MUST be a domain name. IP addresses are not supported according to the
documentation.

Hence, filter out IP addresses and hope that whatever is not recognized as
such an address is actually a domain name. This will probably fail for more
exotic addresses (especially in IPv6 realm), but wiring up a full-blown parser
is too much effort and SSL plugins are not part of purple-3 anyway.

Fixes #17300
man_MANS =
if ENABLE_GTK
man_MANS += pidgin.1
endif
if ENABLE_GNT
man_MANS += finch.1
endif
EXTRA_DIST = \
C-HOWTO.dox \
PERL-HOWTO.dox \
SIGNAL-HOWTO.dox \
TCL-HOWTO.dox \
TracFooter.html \
TracHeader.html \
account-signals.dox \
blist-signals.dox \
certificate-signals.dox \
cipher-signals.dox \
connection-signals.dox \
conversation-signals.dox \
core-signals.dox \
dbus-server-signals.dox \
funniest_home_convos.txt \
finch.1.in \
gtkaccount-signals.dox \
gtkblist-signals.dox \
gtkconv-signals.dox \
gtklog-signals.dox \
gtkimhtml-signals.dox \
gtkrc-2.0 \
imgstore-signals.dox \
jabber-signals.dox \
log-signals.dox \
notify-signals.dox \
pidgin.1.in \
plugin-i18n.dox \
plugin-ids.dox \
plugin-signals.dox \
savedstatus-signals.dox \
sound-signals.dox \
the_penguin.txt \
xfer-signals.dox