aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent36b53720eb4cd23eb7e6c0b3a3fed94f757f27ef (diff)
downloadopenssl-8cc44d970ced1004db0727d7a7b3e2709c442e55.tar.gz
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.h1
-rw-r--r--include/openssl/ec.h1
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