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@chromium.org>2015-02-04 04:20:06 +0300
committerAdam Langley <agl@google.com>2015-02-06 23:56:10 +0300
commit4e04ee8786896b982ef2a65c11530ffdf3e942c8 (patch)
treeae372b12ff111d8a54ea7e3b5c07f05bbb7b7877 /include/openssl/engine.h
parent3fd1fbd1c80fdeff474b468308f47284c98f7f00 (diff)
Remove support for dynamic METHODs.
The ENGINE code had a concept of a stable-ABI for METHODs, because that might be a useful thing in the future when people want to have blobs that wrap PKCS#11 or something. However, at the moment nobody uses this feature and it didn't work very well anyway: I hadn't updated |ENGINE_free| to free them all and |set_method| was copying the methods, but not resetting the |is_static| flag. This change removes support for non-static methods. We can always put it back later if we need. Change-Id: Ic7401c8cb1cadd46b26a215f85bc48562efe9919 Reviewed-on: https://boringssl-review.googlesource.com/3300 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/engine.h')
-rw-r--r--include/openssl/engine.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/openssl/engine.h b/include/openssl/engine.h
index 4a4f37de..da242f6b 100644
--- a/include/openssl/engine.h
+++ b/include/openssl/engine.h
@@ -78,12 +78,14 @@ OPENSSL_EXPORT ECDSA_METHOD *ENGINE_get_ECDSA_method(const ENGINE *engine);
* These functions take a void* type but actually operate on all method
* structures. */
-/* METHOD_ref increments the reference count of |method|. */
-OPENSSL_EXPORT void METHOD_ref(void *method);
+/* METHOD_ref increments the reference count of |method|. This is a no-op for
+ * now because all methods are currently static. */
+void METHOD_ref(void *method);
/* METHOD_unref decrements the reference count of |method| and frees it if the
- * reference count drops to zero. */
-OPENSSL_EXPORT void METHOD_unref(void *method);
+ * reference count drops to zero. This is a no-op for now because all methods
+ * are currently static. */
+void METHOD_unref(void *method);
/* Private functions. */