diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-06-30 13:10:03 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-07-03 15:06:26 +0200 |
commit | 405189f2a794ded622a4ae3a83a9b70917faf894 (patch) | |
tree | b013a4ba34c7c1239ab602eee9f2120b4ba852f7 /apt-inst/dirstream.cc | |
parent | f3b9e58cc5e6878daff9cf127bd00587d1f715d3 (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-inst/dirstream.cc')
0 files changed, 0 insertions, 0 deletions