summaryrefslogtreecommitdiffstats
path: root/doc/internal
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2022-02-25 13:37:08 +1100
committerPauli <pauli@openssl.org>2022-02-28 16:20:33 +1100
commitaf788ad6c3624ccc4b49778a9ded2487b9dbeedd (patch)
treeb1ddb71a3efc8b6683affdb308b325c5b77b36a1 /doc/internal
parent98b7b74122e66f63c4ec67a74e345c64a55c68db (diff)
fetch: convert a NULL property query to ""
Previously, a NULL property query was never cached and this lead to a performance degregation. Now, such a query is converted to an empty string and cached. Fixes #17752 Fixes https://github.openssl.org/openssl/openssl/issues/26 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17769)
Diffstat (limited to 'doc/internal')
-rw-r--r--doc/internal/man3/OSSL_METHOD_STORE.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/internal/man3/OSSL_METHOD_STORE.pod b/doc/internal/man3/OSSL_METHOD_STORE.pod
index 5d9219fd0e..e0536edff3 100644
--- a/doc/internal/man3/OSSL_METHOD_STORE.pod
+++ b/doc/internal/man3/OSSL_METHOD_STORE.pod
@@ -102,6 +102,12 @@ The I<method_up_ref> function is called to increment the
reference count of the method and the I<method_destruct> function is called
to decrement it.
+=head1 NOTES
+
+The I<prop_query> argument to ossl_method_store_cache_get() and
+ossl_method_store_cache_set() is not allowed to be NULL. Use "" for an
+empty property definition or query.
+
=head1 RETURN VALUES
ossl_method_store_new() returns a new method store object or NULL on failure.