diff options
author | tb <> | 2022-07-20 13:57:49 +0000 |
---|---|---|
committer | tb <> | 2022-07-20 13:57:49 +0000 |
commit | df5b87a6315647dfbae35072a0026034ebe03891 (patch) | |
tree | 15ebc0e59a4355b624daccaf387b866227e7c53f /src/lib/libcrypto/ts/ts_req_utils.c | |
parent | 080a39ab960b9c2cb0fe8a86d83c309d1c31ff57 (diff) | |
download | openbsd-df5b87a6315647dfbae35072a0026034ebe03891.tar.gz openbsd-df5b87a6315647dfbae35072a0026034ebe03891.tar.bz2 openbsd-df5b87a6315647dfbae35072a0026034ebe03891.zip |
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
Diffstat (limited to 'src/lib/libcrypto/ts/ts_req_utils.c')
0 files changed, 0 insertions, 0 deletions