diff options
author | jsing <> | 2021-06-29 19:20:39 +0000 |
---|---|---|
committer | jsing <> | 2021-06-29 19:20:39 +0000 |
commit | d8bbfb5c853f1528593599b4cad373dd3f4ac17b (patch) | |
tree | acb82022939a1d3f1bd7dda9dca7bc6324d50b45 /src/lib/libssl/ssl_srvr.c | |
parent | 2084659c33f3dd4553097139197351f79d9931da (diff) | |
download | openbsd-d8bbfb5c853f1528593599b4cad373dd3f4ac17b.tar.gz openbsd-d8bbfb5c853f1528593599b4cad373dd3f4ac17b.tar.bz2 openbsd-d8bbfb5c853f1528593599b4cad373dd3f4ac17b.zip |
Provide a ssl_sigalg_for_peer() function and use in the TLSv1.3 code.
Provide an ssl_sigalg_for_peer() function that knows how to figure out
which signature algorithm should be used for a peer provided signature,
performing appropriate validation to ensure that the peer provided value
is suitable for the protocol version and key in use.
In the TLSv1.3 code, this replaces the need for separate calls to lookup
the sigalg from the peer provided value, then perform validation.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_srvr.c')
0 files changed, 0 insertions, 0 deletions