diff options
author | tb <> | 2021-12-05 13:45:26 +0000 |
---|---|---|
committer | tb <> | 2021-12-05 13:45:26 +0000 |
commit | 14494d6d322e4ba091e6c7c40262b53340b24485 (patch) | |
tree | c47836912a9cb59e7a5ec6ab4d4006d2a9b87438 /src/lib/libc/stdlib/lsearch.c | |
parent | 7f3ee79566c6df929176e86c34bc32964ed8aaaf (diff) | |
download | openbsd-14494d6d322e4ba091e6c7c40262b53340b24485.tar.gz openbsd-14494d6d322e4ba091e6c7c40262b53340b24485.tar.bz2 openbsd-14494d6d322e4ba091e6c7c40262b53340b24485.zip |
Simplify DH_check_params a bit.
It makes no sense to allocate an entire BN_CTX if we only use it to
get a single BIGNUM, from which we subtract 1 to compare it to g.
We can just use a plain BIGNUM and delete a bunch of lines.
ok inoguchi jsing
Diffstat (limited to 'src/lib/libc/stdlib/lsearch.c')
0 files changed, 0 insertions, 0 deletions