summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-16 08:36:14 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-16 08:36:14 +0000
commitf08e5ff68253820292f5ace971c901f1c4f9d383 (patch)
treed4f9c1204332252f72f9266a3c020270bb10011d
parentc94e5789782cb8138641c4447a94ac048c7944ad (diff)
Mark EC_KEY_{get,insert}_method_data() for removal
This is unused and in the way of some house keeping. Thus it will be relocated to the attic. ok jsing
-rw-r--r--lib/libcrypto/ec/ec.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libcrypto/ec/ec.h b/lib/libcrypto/ec/ec.h
index 8ba62c87842..2e674c424f4 100644
--- a/lib/libcrypto/ec/ec.h
+++ b/lib/libcrypto/ec/ec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ec.h,v 1.31 2023/03/08 05:45:31 jsing Exp $ */
+/* $OpenBSD: ec.h,v 1.32 2023/04/16 08:36:13 tb Exp $ */
/*
* Originally written by Bodo Moeller for the OpenSSL project.
*/
@@ -837,6 +837,8 @@ unsigned EC_KEY_get_enc_flags(const EC_KEY *key);
void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags);
point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key);
void EC_KEY_set_conv_form(EC_KEY *eckey, point_conversion_form_t cform);
+
+#if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
/* functions to set/get method specific data */
void *EC_KEY_get_key_method_data(EC_KEY *key,
void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *));
@@ -850,6 +852,8 @@ void *EC_KEY_get_key_method_data(EC_KEY *key,
*/
void *EC_KEY_insert_key_method_data(EC_KEY *key, void *data,
void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *));
+#endif
+
/* wrapper functions for the underlying EC_GROUP object */
void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);