CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2018/06/15 13:24:13

Modified files:
        lib/libcrypto/ecdsa: ecs_ossl.c 

Log message:
Basic cleanup. Handle the possibly NULL ctx_in in ecdsa_sign_setup() with
the usual idiom. All the allocations are now handled inside conditionals as
is usually done in this part of the tree. Turn a few comments into actual
sentences and remove a few self-evident ones. Change outdated or cryptic
comments into more helpful annotations. In ecdsa_do_verify(), start
calculating only after properly truncating the message digest.  More
consistent variable names: prefer 'order_bits' and 'point' over 'i' and
'tmp_point'.

ok jsing

Reply via email to