diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-08-16 13:55:34 +0900 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-08-22 15:10:02 +0100 |
commit | 9ba6f347fedbe103a06c8fd303912b358eacb11c (patch) | |
tree | d0ca4ec450510ea1084af913716ce96d0b576c90 /include | |
parent | fb2141c773ab0c5dfc78cc97d2445362b8048389 (diff) |
Expose alloc functions for EC{PK,}PARAMETERS
Declare EC{PK,}PARAMETERS_{new,free} functions in public headers. The
free functions are necessary because EC_GROUP_get_ec{pk,}parameters()
was made public by commit 60b350a3ef96 ("RT3676: Expose ECgroup i2d
functions").
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h index b6db22da8c..656cb410e6 100644 --- a/include/openssl/ec.h +++ b/include/openssl/ec.h @@ -699,7 +699,9 @@ int EC_GROUP_have_precompute_mult(const EC_GROUP *group); /********************************************************************/ DECLARE_ASN1_ITEM(ECPKPARAMETERS) +DECLARE_ASN1_ALLOC_FUNCTIONS(ECPKPARAMETERS) DECLARE_ASN1_ITEM(ECPARAMETERS) +DECLARE_ASN1_ALLOC_FUNCTIONS(ECPARAMETERS) /* * EC_GROUP_get_basis_type() returns the NID of the basis type used to |