aboutsummaryrefslogtreecommitdiff
path: root/crypto/ec/ec_err.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-07-19 18:57:15 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-07-20 14:02:54 +0100
commit8cc44d970ced1004db0727d7a7b3e2709c442e55 (patch)
tree02912af41ffa73021c9389112886b35026370f6e /crypto/ec/ec_err.c
parent36b53720eb4cd23eb7e6c0b3a3fed94f757f27ef (diff)
downloadopenssl-8cc44d970ced1004db0727d7a7b3e2709c442e55.zip
openssl-8cc44d970ced1004db0727d7a7b3e2709c442e55.tar.gz
openssl-8cc44d970ced1004db0727d7a7b3e2709c442e55.tar.bz2
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>
Diffstat (limited to 'crypto/ec/ec_err.c')
-rw-r--r--crypto/ec/ec_err.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ec/ec_err.c b/crypto/ec/ec_err.c
index 56aacd4..25dea23 100644
--- a/crypto/ec/ec_err.c
+++ b/crypto/ec/ec_err.c
@@ -32,6 +32,7 @@ static ERR_STRING_DATA EC_str_functs[] = {
{ERR_FUNC(EC_F_ECDSA_DO_VERIFY), "ECDSA_do_verify"},
{ERR_FUNC(EC_F_ECDSA_SIGN_EX), "ECDSA_sign_ex"},
{ERR_FUNC(EC_F_ECDSA_SIGN_SETUP), "ECDSA_sign_setup"},
+ {ERR_FUNC(EC_F_ECDSA_SIG_NEW), "ECDSA_SIG_new"},
{ERR_FUNC(EC_F_ECDSA_VERIFY), "ECDSA_verify"},
{ERR_FUNC(EC_F_ECKEY_PARAM2TYPE), "eckey_param2type"},
{ERR_FUNC(EC_F_ECKEY_PARAM_DECODE), "eckey_param_decode"},