CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/11/19 04:48:24

Modified files:
        lib/libcrypto/dsa: dsa_asn1.c 

Log message:
Rework DSA_sign() and DSA_verify()

Change DSA_sign() to single exit and check the signed i2d_DSA_SIG() return
value before assigning it to an unsigned int.

In DSA_verify() let d2i_DSA_SIG() handle the allocation, split error check
of i2d_DSA_SIG() from signature check and change an unnecessary freezero()
to free.

ok jsing

Reply via email to