summaryrefslogtreecommitdiff
path: root/src/usr.sbin
diff options
context:
space:
mode:
authortb <>2022-11-19 11:48:24 +0000
committertb <>2022-11-19 11:48:24 +0000
commitb78141471e53d13ea11d14dd53817687e84a5a92 (patch)
tree66ea6e90a022076705b4988bf215c0e9eb93ad45 /src/usr.sbin
parent97ff0b8011f923270c9adb50e24c2b4c4a533238 (diff)
downloadopenbsd-b78141471e53d13ea11d14dd53817687e84a5a92.tar.gz
openbsd-b78141471e53d13ea11d14dd53817687e84a5a92.tar.bz2
openbsd-b78141471e53d13ea11d14dd53817687e84a5a92.zip
Rework DSA_sign() and DSA_verify()
Change DSA_sign() to single exit and check the signed i2d_DSA_SIG() return value before assigning it to an unsigned int. In DSA_verify() let d2i_DSA_SIG() handle the allocation, split error check of i2d_DSA_SIG() from signature check and change an unnecessary freezero() to free. ok jsing
Diffstat (limited to 'src/usr.sbin')
0 files changed, 0 insertions, 0 deletions