diff options
| author | tb <> | 2023-07-15 20:11:37 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-15 20:11:37 +0000 |
| commit | 6b86b41983f40fcc0b8c5b5cd3b747d9139c6a28 (patch) | |
| tree | 82868e3438d9cf6b11719d83afe131958a360093 /src/lib/libc/crypt/arc4random.c | |
| parent | 0c09b26618d8f93d40a1230ba04afe762c74ec31 (diff) | |
| download | openbsd-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/libc/crypt/arc4random.c')
0 files changed, 0 insertions, 0 deletions
