提交 9ba6f347 编写于 作者: K Kazuki Yamaguchi 提交者: Matt Caswell

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 60b350a3 ("RT3676: Expose ECgroup i2d
functions").
Reviewed-by: NRich Salz <rsalz@openssl.org>
Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 fb2141c7
......@@ -39,6 +39,10 @@ DIST_POINT_NAME_new,
DIST_POINT_free,
DIST_POINT_new,
DSAparams_dup,
ECPARAMETERS_free,
ECPARAMETERS_new,
ECPKPARAMETERS_free,
ECPKPARAMETERS_new,
EDIPARTYNAME_free,
EDIPARTYNAME_new,
ESS_CERT_ID_dup,
......
......@@ -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
......
......@@ -4203,3 +4203,7 @@ OPENSSL_utf82uni 4149 1_1_0 EXIST::FUNCTION:
PKCS12_add_friendlyname_utf8 4150 1_1_0 EXIST::FUNCTION:
OPENSSL_uni2utf8 4151 1_1_0 EXIST::FUNCTION:
PKCS12_key_gen_utf8 4152 1_1_0 EXIST::FUNCTION:
ECPKPARAMETERS_free 4153 1_1_0 EXIST::FUNCTION:EC
ECPARAMETERS_free 4154 1_1_0 EXIST::FUNCTION:EC
ECPKPARAMETERS_new 4155 1_1_0 EXIST::FUNCTION:EC
ECPARAMETERS_new 4156 1_1_0 EXIST::FUNCTION:EC
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册