Do not compare TLS config params for non-TLS servers. This allows to
authorclaudio <claudio@openbsd.org>
Sat, 10 Apr 2021 10:10:07 +0000 (10:10 +0000)
committerclaudio <claudio@openbsd.org>
Sat, 10 Apr 2021 10:10:07 +0000 (10:10 +0000)
commitd587572fd9f4593a457bf3a9756e07848875beae
tree75a074a2649f717babd4a2210484c663d94c6f7d
parent6f0676d9c36e2b4bc22f061752fd4fcc9a3d5715
Do not compare TLS config params for non-TLS servers. This allows to
mix 'listen * port 80' and 'listen * tls port 443' in one server block.
Also the last argument of server_tls_cmp - match_keypair - is always 0
so remove this code.
OK florian@ tb@ some long time ago
usr.sbin/httpd/httpd.h
usr.sbin/httpd/parse.y
usr.sbin/httpd/server.c