diff options
author | tb <> | 2024-11-17 06:33:35 +0000 |
---|---|---|
committer | tb <> | 2024-11-17 06:33:35 +0000 |
commit | a62b48c76c324585e4b919de1818465e2667289e (patch) | |
tree | a900f623295736978677750d1aa360fd50900a65 /src/lib/libssl/ssl_transcript.c | |
parent | b4c334cf7760113f167c0d700e27fb65de2f189a (diff) | |
download | openbsd-a62b48c76c324585e4b919de1818465e2667289e.tar.gz openbsd-a62b48c76c324585e4b919de1818465e2667289e.tar.bz2 openbsd-a62b48c76c324585e4b919de1818465e2667289e.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/libssl/ssl_transcript.c')
0 files changed, 0 insertions, 0 deletions