summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2019-10-18 15:54:20 +0300
committerNicola Tuveri <nic.tuv@gmail.com>2019-10-23 00:49:46 +0300
commit4a7a4972296274463c739c658f3361ca17fb8027 (patch)
treeb6f855f97d74ebcc0ff5bcab9f5f28e77ab44421 /include
parentcdf8d0db79250258c28c2b4249aedca779bab766 (diff)
Deprecate EC_GROUP_clear_free()
There is nothing confidential in `EC_GROUP` so really having a `EC_GROUP_clear_free` function at all does not make much sense anymore. See https://github.com/openssl/openssl/issues/9822 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9874)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index 11999b41fc..b4c50ecfc7 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -131,7 +131,7 @@ void EC_GROUP_free(EC_GROUP *group);
/** Clears and frees a EC_GROUP object
* \param group EC_GROUP object to be cleared and freed.
*/
-void EC_GROUP_clear_free(EC_GROUP *group);
+DEPRECATEDIN_3(void EC_GROUP_clear_free(EC_GROUP *group))
/** Copies EC_GROUP objects. Note: both EC_GROUPs must use the same EC_METHOD.
* \param dst destination EC_GROUP object