summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/s_server.c
diff options
context:
space:
mode:
authortb <>2021-12-05 13:45:26 +0000
committertb <>2021-12-05 13:45:26 +0000
commitf99574add34cb55c0297c6dcad8ed12e9eb18893 (patch)
treec47836912a9cb59e7a5ec6ab4d4006d2a9b87438 /src/usr.bin/openssl/s_server.c
parente10c7420e88fda87d03688ffc20e3208ea5bc9db (diff)
downloadopenbsd-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