diff options
author | tb <> | 2023-07-02 15:02:52 +0000 |
---|---|---|
committer | tb <> | 2023-07-02 15:02:52 +0000 |
commit | 38cd396b800dc18b749806d8b297284deb76ca61 (patch) | |
tree | 63413022928835e85b87f5be3cae2732b3cf6440 /src/lib/libtls | |
parent | a3cc69bae1783f6f5c92f365722ad4b7cc487c76 (diff) | |
download | openbsd-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/libtls')
0 files changed, 0 insertions, 0 deletions