diff options
author | Pauli <pauli@openssl.org> | 2022-02-25 03:37:08 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-02-28 06:20:33 +0100 |
commit | af788ad6c3624ccc4b49778a9ded2487b9dbeedd (patch) | |
tree | b1ddb71a3efc8b6683affdb308b325c5b77b36a1 /doc/internal | |
parent | VMS: copy prologue/epilogue headers when header files are generated (diff) | |
download | openssl-af788ad6c3624ccc4b49778a9ded2487b9dbeedd.tar.xz openssl-af788ad6c3624ccc4b49778a9ded2487b9dbeedd.zip |
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.pod | 6 |
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. |