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:
authorAdam Langley <agl@google.com>2015-04-01 02:04:09 +0300
committerAdam Langley <agl@google.com>2015-04-09 02:20:07 +0300
commit2e0f0711dd9ab1802dffd24c027fc1c205a8662b (patch)
tree15bdf1be6968a3a7aee5faa39ee897cdd95f0da4 /include/openssl/err.h
parente9a80ff8ce8f8ebb7c8276d4b593d3ddc645fa77 (diff)
Remove the implementation abstraction from ERR.
Since ERR will soon have thread-local storage, we don't need to worry about high-performance implementations and thus don't need to be able to switch two different implementations at run-time. Change-Id: I0598054ee8a8b499ac686ea635a96f5d03c754e0
Diffstat (limited to 'include/openssl/err.h')
-rw-r--r--include/openssl/err.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/openssl/err.h b/include/openssl/err.h
index 4e318ddc..20165cd6 100644
--- a/include/openssl/err.h
+++ b/include/openssl/err.h
@@ -471,26 +471,6 @@ enum {
#define ERR_GET_FUNC(packed_error) ((int)(((packed_error) >> 12) & 0xfff))
#define ERR_GET_REASON(packed_error) ((int)((packed_error) & 0xfff))
-/* ERR_FNS_st is a structure of function pointers that contains the actual
- * implementation of the error queue handling functions. */
-struct ERR_FNS_st {
- void (*shutdown)(void (*err_state_free_cb)(ERR_STATE*));
-
- /* get_state returns the ERR_STATE for the current thread. This function
- * never returns NULL. */
- ERR_STATE *(*get_state)(void);
-
- /* release_state returns the |ERR_STATE| for the given thread, or NULL if
- * none exists. It the return value is not NULL, it also returns ownership of
- * the |ERR_STATE| and deletes it from its data structures. */
- ERR_STATE *(*release_state)(const CRYPTO_THREADID *tid);
-
- /* get_next_library returns a unique value suitable for passing as the
- * |library| to error calls. It will be distinct from all built-in library
- * values. */
- int (*get_next_library)(void);
-};
-
/* OPENSSL_DECLARE_ERROR_REASON is used by util/make_errors.h (which generates
* the error defines) to recognise that an additional reason value is needed.
* This is needed when the reason value is used outside of an