diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-07-19 18:57:15 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-07-20 14:02:54 +0100 |
commit | 8cc44d970ced1004db0727d7a7b3e2709c442e55 (patch) | |
tree | 02912af41ffa73021c9389112886b35026370f6e /include | |
parent | 36b53720eb4cd23eb7e6c0b3a3fed94f757f27ef (diff) |
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 'include')
-rw-r--r-- | include/openssl/dsa.h | 1 | ||||
-rw-r--r-- | include/openssl/ec.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/dsa.h b/include/openssl/dsa.h index 3b1e1a6edc..11ddd397b3 100644 --- a/include/openssl/dsa.h +++ b/include/openssl/dsa.h @@ -256,6 +256,7 @@ void ERR_load_DSA_strings(void); # define DSA_F_DSA_PUB_ENCODE 118 # define DSA_F_DSA_SIGN 106 # define DSA_F_DSA_SIGN_SETUP 107 +# define DSA_F_DSA_SIG_NEW 102 # define DSA_F_OLD_DSA_PRIV_DECODE 122 # define DSA_F_PKEY_DSA_CTRL 120 # define DSA_F_PKEY_DSA_KEYGEN 121 diff --git a/include/openssl/ec.h b/include/openssl/ec.h index 0e50296463..03942eda84 100644 --- a/include/openssl/ec.h +++ b/include/openssl/ec.h @@ -1378,6 +1378,7 @@ void ERR_load_EC_strings(void); # define EC_F_ECDSA_DO_VERIFY 252 # define EC_F_ECDSA_SIGN_EX 254 # define EC_F_ECDSA_SIGN_SETUP 248 +# define EC_F_ECDSA_SIG_NEW 265 # define EC_F_ECDSA_VERIFY 253 # define EC_F_ECKEY_PARAM2TYPE 223 # define EC_F_ECKEY_PARAM_DECODE 212 |