summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_prn.c
diff options
context:
space:
mode:
authorjsing <>2022-07-03 14:58:00 +0000
committerjsing <>2022-07-03 14:58:00 +0000
commit75b104defc9fec997245749fc919fd66a679c40d (patch)
tree6210ecab1ffd76ddf1fb9ee395feb4d7bad0129d /src/lib/libcrypto/dsa/dsa_prn.c
parent1ffc21a41f265a4910719c37b047e1583145350d (diff)
downloadopenbsd-75b104defc9fec997245749fc919fd66a679c40d.tar.gz
openbsd-75b104defc9fec997245749fc919fd66a679c40d.tar.bz2
openbsd-75b104defc9fec997245749fc919fd66a679c40d.zip
Simplify certificate list handling code in legacy server.
A client is required to send an empty list if it does not have a suitable certificate - handle this case up front, rather than going through the normal code path and ending up with an empty certificate list. This matches what we do in the TLSv1.3 stack and will allow for ruther clean up (in addition to making the code more readable). Also tidy up the CBS code and remove some unnecessary length checks. Use 'cert' and 'certs' for certificates, rather than 'x' and 'sk'. ok tb@
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_prn.c')
0 files changed, 0 insertions, 0 deletions