CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/07/20 07:57:49
Modified files:
lib/libssl : ssl_lib.c
Log message:
Rewrite SSL{_CTX,}_set_alpn_protos() using CBS
This simplifies the freeing, assigning and copying of the passed
protocols by replacing all that code with a pair of CBS_init() and
CBS_stow(). In addition, this aligns the behavior with OpenSSL,
which no longer errors on NULL proto or 0 proto_len since 86a90dc7.
ok jsing
