summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_transcript.c
diff options
context:
space:
mode:
authortb <>2022-07-20 13:57:49 +0000
committertb <>2022-07-20 13:57:49 +0000
commita66541ae3e972bf746d22740553b15f1cff84b2a (patch)
tree15ebc0e59a4355b624daccaf387b866227e7c53f /src/lib/libssl/ssl_transcript.c
parent4a9e3a6050354076d17c012b02a06e5ff6f9e3fd (diff)
downloadopenbsd-a66541ae3e972bf746d22740553b15f1cff84b2a.tar.gz
openbsd-a66541ae3e972bf746d22740553b15f1cff84b2a.tar.bz2
openbsd-a66541ae3e972bf746d22740553b15f1cff84b2a.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/libssl/ssl_transcript.c')
0 files changed, 0 insertions, 0 deletions