diff options
author | tb <> | 2023-07-15 20:11:37 +0000 |
---|---|---|
committer | tb <> | 2023-07-15 20:11:37 +0000 |
commit | f776c13432420069da814fac24a1301abceefb46 (patch) | |
tree | 82868e3438d9cf6b11719d83afe131958a360093 /src/lib/libssl/ssl_lib.c | |
parent | f8c751987fd26f1b8ed8b362819631044f6b1b3a (diff) | |
download | openbsd-f776c13432420069da814fac24a1301abceefb46.tar.gz openbsd-f776c13432420069da814fac24a1301abceefb46.tar.bz2 openbsd-f776c13432420069da814fac24a1301abceefb46.zip |
Fix return value check for ECDH_compute_key()
ECDH_compute_key() usually returns -1 on error (but sometimes 0). This
was also the case in OpenSSL when these tests were written. This will
soon change. The check for <= 0 will still be correct.
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions