BUG/MINOR: ssl: Correctly add the 1 for the sentinel to the number of elements
authorTim Duesterhus <tim@bastelstu.be>
Thu, 19 Mar 2020 15:12:10 +0000 (16:12 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 20 Mar 2020 08:43:53 +0000 (09:43 +0100)
commit2445f8d4ec16d7dbd04301c0e37eef9550313ab4
tree7c9b5dfea37a4aaba2ae01f84ce844dcfb3ad36c
parent8c12025a7dacecfb6fe5c13bc899c6ffa2727ca1
BUG/MINOR: ssl: Correctly add the 1 for the sentinel to the number of elements

In `crtlist_dup_filters()` add the `1` to the number of elements instead of
the size of a single element.

This bug was introduced in commit 2954c478ebab019b814b97cbaec4653af7f03f34,
which is 2.2+. No backport needed.
src/ssl_sock.c