MINOR: ssl: do not set ALPN callback with the empty string
authorWilly Tarreau <w@1wt.eu>
Wed, 19 Apr 2023 07:05:49 +0000 (09:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 19 Apr 2023 07:12:43 +0000 (09:12 +0200)
commita2a095536a3040b6f9bbc749412299a8539491bd
tree3ff76d55b50613c902c1190f4ba6a422a8f6ebfc
parent74d7cc0891ce9d06f4955a60b3e95f1465db1607
MINOR: ssl: do not set ALPN callback with the empty string

While it does not have any effect, it's better not to try to setup an
ALPN callback nor to try to lookup algorithms when the configured ALPN
string is empty as a result of "no-alpn" being used.
src/ssl_sock.c