Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-04-15 23:36:31 +0300
committerAdam Langley <agl@google.com>2015-04-16 02:24:21 +0300
commitb857ffe62925f0d76d658177c26ab8c4c1340b95 (patch)
tree9e8fde5906f925d6b549e6d266a6833eb0745000 /include/openssl/ex_data.h
parent32cd83f4def72fadbf1ba9aa3a61de93fd46373b (diff)
Remove CRYPTO_ex_data_new_class.
It's unused and requires ex_data support a class number per type. Change-Id: Ie1fb55053631ef00c3318f3253f7c9501988f522 Reviewed-on: https://boringssl-review.googlesource.com/4371 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/ex_data.h')
-rw-r--r--include/openssl/ex_data.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/include/openssl/ex_data.h b/include/openssl/ex_data.h
index 777eea87..abf96a3f 100644
--- a/include/openssl/ex_data.h
+++ b/include/openssl/ex_data.h
@@ -171,8 +171,7 @@ typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
* each class of object should provide a wrapper function that sets
* |class_value| correctly.
*
- * The |class_value| argument should be one of |CRYPTO_EX_INDEX_*| or a
- * user-defined class value returned from |CRYPTO_ex_data_new_class|.
+ * The |class_value| argument should be one of |CRYPTO_EX_INDEX_*|.
*
* See the descriptions of the callback typedefs for details of when they are
* called. Any of the callback arguments may be NULL. The |argl| and |argp|
@@ -210,8 +209,6 @@ OPENSSL_EXPORT void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int index);
/* CRYPTO_EX_INDEX_* are the built-in classes of objects.
*
- * User defined classes start at 100.
- *
* TODO(fork): WARNING: these are called "INDEX", but they aren't! */
enum {
CRYPTO_EX_INDEX_BIO,
@@ -228,19 +225,6 @@ enum {
};
-/* User-defined classes of objects.
- *
- * Core OpenSSL code has predefined class values given above (the
- * |CRYPTO_EX_INDEX_*| values). It's possible to get dynamic class values
- * assigned for user-defined objects. */
-
-/* CRYPTO_ex_data_new_class returns a fresh class value for a user-defined type
- * that wishes to use ex_data.
- *
- * TODO(fork): hopefully remove this. */
-OPENSSL_EXPORT int CRYPTO_ex_data_new_class(void);
-
-
/* Embedding, allocating and freeing |CRYPTO_EX_DATA| structures for objects
* that embed them. */