summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_ossl.c
diff options
context:
space:
mode:
authortb <>2024-11-17 06:33:35 +0000
committertb <>2024-11-17 06:33:35 +0000
commit5f7f16103433b73714ce9b1f5e8a29113906a26f (patch)
treea900f623295736978677750d1aa360fd50900a65 /src/lib/libcrypto/dsa/dsa_ossl.c
parent9517b0f70f04454a20275ff66ee397661a3f11a9 (diff)
downloadopenbsd-5f7f16103433b73714ce9b1f5e8a29113906a26f.tar.gz
openbsd-5f7f16103433b73714ce9b1f5e8a29113906a26f.tar.bz2
openbsd-5f7f16103433b73714ce9b1f5e8a29113906a26f.zip
Rewrite EC_GROUP_cmp()
Use better variable names (cf. https://jmilne.org/math/tips.html#4) and avoid the weird style of assigning to r (what does r stand for anyway?) and short circuiting subsequent tests using if (r || ...). Also, do not reuse the variables for order and cofactor that were previously used for the curve coefficients. ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_ossl.c')
0 files changed, 0 insertions, 0 deletions