MINOR: ssl: split parse functions for alpn/check-alpn
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 21 May 2021 14:45:10 +0000 (16:45 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 18 Jun 2021 14:42:26 +0000 (16:42 +0200)
commit7addf56b724f5e16459dabc60765461d8b020178
tree267dd82d333700678af423ea48bcbebdffc5ca9c
parent36aa451a4e15c1601b4ef87a45cd0e49bf364beb
MINOR: ssl: split parse functions for alpn/check-alpn

This will be in preparation for support of ssl on dynamic servers. The
'alpn' keyword will be allowed for dynamic servers but not the
'check-alpn'.

The alpn parsing is extracted into a new function parse_alpn. Each
srv_parse_alpn and srv_parse_check_alpn called it.
src/cfgparse-ssl.c