summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authortb <>2022-08-17 18:45:25 +0000
committertb <>2022-08-17 18:45:25 +0000
commita3666a804ad25164fb8ec421e8feb3b9ba515e8e (patch)
tree0e85045f1e93abe5cf5abbe83556b1c64341b959 /src/lib/libssl/s3_lib.c
parentea6494d34c87bf45a6d50bb4719ab8fbd91c4ae7 (diff)
downloadopenbsd-a3666a804ad25164fb8ec421e8feb3b9ba515e8e.tar.gz
openbsd-a3666a804ad25164fb8ec421e8feb3b9ba515e8e.tar.bz2
openbsd-a3666a804ad25164fb8ec421e8feb3b9ba515e8e.zip
Refactor tls1_get_supported_group()
This splits tls1_get_supported_group() into a few helper functions to be able to count shared groups and to return the n-th shared group since someone thought it is a great idea to expose that in a single API and some others thought it is useful to add this info to log noise. This is all made a bit more complicated thanks to the security level having its tentacles everywhere and because a user-provided security callback can influence the list of groups shared by the peers. ok jsing
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions