summaryrefslogtreecommitdiff
path: root/apt-private/private-list.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-06-30 13:10:03 +0200
committerJulian Andres Klode <jak@debian.org>2017-07-03 15:06:26 +0200
commit405189f2a794ded622a4ae3a83a9b70917faf894 (patch)
treeb013a4ba34c7c1239ab602eee9f2120b4ba852f7 /apt-private/private-list.cc
parentf3b9e58cc5e6878daff9cf127bd00587d1f715d3 (diff)
don't set ip addresses as server names for SNI
It is kinda unlikely that apt will ever encounter a certificate for an IP and a user actually using it, but the API documentation for gnutls_server_name_set explicitly says that "IPv4 or IPv6 addresses are not permitted to be set by this function.", so we should follow it. [jak@d.o: Slightly rebased]
Diffstat (limited to 'apt-private/private-list.cc')
0 files changed, 0 insertions, 0 deletions