summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_transcript.c
diff options
context:
space:
mode:
authortb <>2024-11-17 06:33:35 +0000
committertb <>2024-11-17 06:33:35 +0000
commita62b48c76c324585e4b919de1818465e2667289e (patch)
treea900f623295736978677750d1aa360fd50900a65 /src/lib/libssl/ssl_transcript.c
parentb4c334cf7760113f167c0d700e27fb65de2f189a (diff)
downloadopenbsd-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