Don't allocate r/s in DSA_SIG and ECDSA_SIG
authorDr. Stephen Henson <steve@openssl.org>
Tue, 19 Jul 2016 17:57:15 +0000 (18:57 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 20 Jul 2016 13:02:54 +0000 (14:02 +0100)
commit8cc44d970ced1004db0727d7a7b3e2709c442e55
tree02912af41ffa73021c9389112886b35026370f6e
parent36b53720eb4cd23eb7e6c0b3a3fed94f757f27ef
Don't allocate r/s in DSA_SIG and ECDSA_SIG

To avoid having to immediately free up r/s when setting them
don't allocate them automatically in DSA_SIG_new() and ECDSA_SIG_new().

RT#4590

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/dsa/dsa_asn1.c
crypto/dsa/dsa_err.c
crypto/dsa/dsa_ossl.c
crypto/ec/ec_asn1.c
crypto/ec/ec_err.c
crypto/ec/ecdsa_ossl.c
include/openssl/dsa.h
include/openssl/ec.h