diff options
author | tb <> | 2022-11-19 11:48:24 +0000 |
---|---|---|
committer | tb <> | 2022-11-19 11:48:24 +0000 |
commit | b78141471e53d13ea11d14dd53817687e84a5a92 (patch) | |
tree | 66ea6e90a022076705b4988bf215c0e9eb93ad45 /src/usr.sbin | |
parent | 97ff0b8011f923270c9adb50e24c2b4c4a533238 (diff) | |
download | openbsd-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