summaryrefslogtreecommitdiff
path: root/lib/libssl/tls13_client.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-03-06 08:31:35 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-03-06 08:31:35 +0000
commiteb4dcf50142d519670e0c10a92959475877007b3 (patch)
treed2672fccbd4257ef26de7c153f073c9c715533f4 /lib/libssl/tls13_client.c
parent3acdf6c4b57867488e023e1aae7e452a717f8db6 (diff)
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 'lib/libssl/tls13_client.c')
0 files changed, 0 insertions, 0 deletions