summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authortb <>2023-07-15 20:11:37 +0000
committertb <>2023-07-15 20:11:37 +0000
commitf776c13432420069da814fac24a1301abceefb46 (patch)
tree82868e3438d9cf6b11719d83afe131958a360093 /src/lib/libssl/ssl_lib.c
parentf8c751987fd26f1b8ed8b362819631044f6b1b3a (diff)
downloadopenbsd-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