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