commit | 2d6fd0a90df8d3ab77f13c59e5f1efa3d271c42c | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Mon Sep 14 15:20:10 2020 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Mon Sep 14 15:20:10 2020 +0200 |
tree | fe42e080d44291130fa808ed1d6198bdd612426b | |
parent | 441b6c31e9d8e45ecf09379ff7494743889f36fd [diff] |
BUG/MINOR: ssl: verifyhost is case sensitive In bug #835, @arjenzorgdoc reported that the verifyhost option on the server line is case-sensitive, that shouldn't be the case. This patch fixes the issue by replacing memcmp by strncasecmp and strcmp by strcasecmp. The patch was suggested by @arjenzorgdoc. This must be backported in all versions supporting the verifyhost option.