diff options
author | tb <> | 2023-03-06 08:31:34 +0000 |
---|---|---|
committer | tb <> | 2023-03-06 08:31:34 +0000 |
commit | 6d55865d658cc128dcfc12087fc0d797c48fb108 (patch) | |
tree | 37817dd577ee74a6b285746eac4625696e1055fb /src/usr.bin/openssl/dsa.c | |
parent | 4fcd281723e0297f5e683485b2f616b64027349d (diff) | |
download | openbsd-6d55865d658cc128dcfc12087fc0d797c48fb108.tar.gz openbsd-6d55865d658cc128dcfc12087fc0d797c48fb108.tar.bz2 openbsd-6d55865d658cc128dcfc12087fc0d797c48fb108.zip |
Fix incorrect RSA_public_decrypt() return check
RSA_public_decrypt() returns <= 0 on error. Assigning to a size_t and
checking for == 0 is not the right thing to do here. Neither is blindly
turning the check into <= 0...
Found by Niels Dossche
ok jsing
Diffstat (limited to 'src/usr.bin/openssl/dsa.c')
0 files changed, 0 insertions, 0 deletions