summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ts/ts_req_utils.c
diff options
context:
space:
mode:
authortb <>2022-07-20 14:08:49 +0000
committertb <>2022-07-20 14:08:49 +0000
commite570ac9218acd894e64a719178b58fa8f1496fe1 (patch)
treec0034efe43822782253798917829a36d819b5ff6 /src/lib/libcrypto/ts/ts_req_utils.c
parentdf5b87a6315647dfbae35072a0026034ebe03891 (diff)
downloadopenbsd-e570ac9218acd894e64a719178b58fa8f1496fe1.tar.gz
openbsd-e570ac9218acd894e64a719178b58fa8f1496fe1.tar.bz2
openbsd-e570ac9218acd894e64a719178b58fa8f1496fe1.zip
Validate protocols in SSL{_CTX,}_set_alpn_protos()
This wonderful API requires users to pass the protocol list in wire format. This list is then sent as part of the ClientHello. Validate it to be of the correct form. This reuses tlsext_alpn_check_format() that was split out of tlsext_alpn_server_parse(). Similar checks were introduced in OpenSSL 86a90dc7 ok jsing
Diffstat (limited to 'src/lib/libcrypto/ts/ts_req_utils.c')
0 files changed, 0 insertions, 0 deletions