diff options
author | tb <> | 2021-12-05 13:45:26 +0000 |
---|---|---|
committer | tb <> | 2021-12-05 13:45:26 +0000 |
commit | f99574add34cb55c0297c6dcad8ed12e9eb18893 (patch) | |
tree | c47836912a9cb59e7a5ec6ab4d4006d2a9b87438 /src/usr.bin/openssl/s_server.c | |
parent | e10c7420e88fda87d03688ffc20e3208ea5bc9db (diff) | |
download | openbsd-f99574add34cb55c0297c6dcad8ed12e9eb18893.tar.gz openbsd-f99574add34cb55c0297c6dcad8ed12e9eb18893.tar.bz2 openbsd-f99574add34cb55c0297c6dcad8ed12e9eb18893.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/usr.bin/openssl/s_server.c')
0 files changed, 0 insertions, 0 deletions