summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_packet.c
diff options
context:
space:
mode:
authortb <>2022-11-19 11:53:38 +0000
committertb <>2022-11-19 11:53:38 +0000
commit2dabf3e5e824591980d26d9b06b6b28be077f309 (patch)
tree43f97556a03caa392123ac17cb7a5449d5a04051 /src/lib/libssl/ssl_packet.c
parent064aae90f56580b61b05fd56fc4c0fffaf8458e0 (diff)
downloadopenbsd-2dabf3e5e824591980d26d9b06b6b28be077f309.tar.gz
openbsd-2dabf3e5e824591980d26d9b06b6b28be077f309.tar.bz2
openbsd-2dabf3e5e824591980d26d9b06b6b28be077f309.zip
Rework pkey_dsa_sign() and pkey_dsa_verify()
Since DSA_sign() and DSA_verify() ignore their type argument, don't bother to determine it here. Check all size_t for overflow before passing them as int arguments. Follow OpenSSL and add a check to see if the tbs blob's length matches the one of the md, in case it is set on the EVP_PKEY_CTX. Fix return value check of DSA_sign(). ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_packet.c')
0 files changed, 0 insertions, 0 deletions