summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_lib.c
diff options
context:
space:
mode:
authortb <>2023-07-02 15:02:52 +0000
committertb <>2023-07-02 15:02:52 +0000
commit38cd396b800dc18b749806d8b297284deb76ca61 (patch)
tree63413022928835e85b87f5be3cae2732b3cf6440 /src/lib/libssl/tls13_lib.c
parenta3cc69bae1783f6f5c92f365722ad4b7cc487c76 (diff)
downloadopenbsd-38cd396b800dc18b749806d8b297284deb76ca61.tar.gz
openbsd-38cd396b800dc18b749806d8b297284deb76ca61.tar.bz2
openbsd-38cd396b800dc18b749806d8b297284deb76ca61.zip
Fix return values of ecx methods
It is hard to get your return values right if you choose them to be a random subset of {-2, ..., 3}. The item_verify() and the digestverify() methods don't return 0 on error, but -1. Here 0 means "failed to verify", obviously. ok jsing
Diffstat (limited to 'src/lib/libssl/tls13_lib.c')
0 files changed, 0 insertions, 0 deletions