]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: add SSL_SERVER_LOCK label in threads.h
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 10 Feb 2021 15:17:19 +0000 (16:17 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 10 Feb 2021 15:17:19 +0000 (16:17 +0100)
commit7b4165449528e6750528fc91c4db9c83a6d619d6
tree46bfb139fed36a2b38b7e561b20f76480922062c
parent826f3ab5e64e264fb23f4b01221504fc374fe688
MINOR: ssl: add SSL_SERVER_LOCK label in threads.h

Amaury reported that the commit 3ce6eed ("MEDIUM: ssl: add a rwlock for
SSL server session cache") introduced some warning during compilation:

    include/haproxy/thread.h|411 col 2| warning: enumeration value 'SSL_SERVER_LOCK' not handled in switch [-Wswitch]

This patch fix the issue by adding the right entry in the switch block.

Must be backported where 3ce6eed is backported. (2.4 only for now)
include/haproxy/thread.h