diff options
author | tb <> | 2022-08-17 18:45:25 +0000 |
---|---|---|
committer | tb <> | 2022-08-17 18:45:25 +0000 |
commit | 1c5609b103eb8a5e47488306e9b34ff2021b41fa (patch) | |
tree | 0e85045f1e93abe5cf5abbe83556b1c64341b959 /src/lib/libssl/s3_lib.c | |
parent | 1629543e9a637d8ec02b2ab4fb5c737c5e968941 (diff) | |
download | openbsd-1c5609b103eb8a5e47488306e9b34ff2021b41fa.tar.gz openbsd-1c5609b103eb8a5e47488306e9b34ff2021b41fa.tar.bz2 openbsd-1c5609b103eb8a5e47488306e9b34ff2021b41fa.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