summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/stack/stack.h
diff options
context:
space:
mode:
authortb <>2023-07-15 20:11:37 +0000
committertb <>2023-07-15 20:11:37 +0000
commit6b86b41983f40fcc0b8c5b5cd3b747d9139c6a28 (patch)
tree82868e3438d9cf6b11719d83afe131958a360093 /src/lib/libcrypto/stack/stack.h
parent0c09b26618d8f93d40a1230ba04afe762c74ec31 (diff)
downloadopenbsd-6b86b41983f40fcc0b8c5b5cd3b747d9139c6a28.tar.gz
openbsd-6b86b41983f40fcc0b8c5b5cd3b747d9139c6a28.tar.bz2
openbsd-6b86b41983f40fcc0b8c5b5cd3b747d9139c6a28.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/libcrypto/stack/stack.h')
0 files changed, 0 insertions, 0 deletions