diff options
| author | tb <> | 2023-03-06 08:31:34 +0000 |
|---|---|---|
| committer | tb <> | 2023-03-06 08:31:34 +0000 |
| commit | daaadcc1de30d7b6dc48967a86d15a6642905d70 (patch) | |
| tree | 37817dd577ee74a6b285746eac4625696e1055fb /src/lib/libc/stdlib/getopt_long.c | |
| parent | ec79b8a0caa19718e16811a1ca55f0c980ef6d2f (diff) | |
| download | openbsd-daaadcc1de30d7b6dc48967a86d15a6642905d70.tar.gz openbsd-daaadcc1de30d7b6dc48967a86d15a6642905d70.tar.bz2 openbsd-daaadcc1de30d7b6dc48967a86d15a6642905d70.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 '')
0 files changed, 0 insertions, 0 deletions
