summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_client.c
diff options
context:
space:
mode:
authortb <>2022-01-04 19:49:14 +0000
committertb <>2022-01-04 19:49:14 +0000
commit42977c99982184e524a7e6eeb3fb753baa17ad66 (patch)
treef41760428438f1975b56a220f807c6dd43e7bc59 /src/lib/libssl/tls13_client.c
parent905a06fca980e325f12820ac5834e102e3f99918 (diff)
downloadopenbsd-42977c99982184e524a7e6eeb3fb753baa17ad66.tar.gz
openbsd-42977c99982184e524a7e6eeb3fb753baa17ad66.tar.bz2
openbsd-42977c99982184e524a7e6eeb3fb753baa17ad66.zip
Refactor IPAddressFamily accessors
Introduce a helper function that allows fetching the AFI and the optional SAFI out of an IPAddressFamily. Also add two wrappers that only fetch and validate the AFI, where validation currently only means that the length is between 2 and 3. Use these accessors throughout to simplify and streamline the code. ok inoguchi jsing
Diffstat (limited to 'src/lib/libssl/tls13_client.c')
0 files changed, 0 insertions, 0 deletions