Add a configure time option to disable the fetch cache.
authorPauli <ppzgs1@gmail.com>
Wed, 10 Feb 2021 11:53:57 +0000 (21:53 +1000)
committerPauli <ppzgs1@gmail.com>
Fri, 12 Feb 2021 02:28:55 +0000 (12:28 +1000)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14126)

Configure
INSTALL.md

index 9a96a7f0c022da27080dfa76b3ced885ca22669d..cd11b2e3931946e8c5be29741da8e3288fff6acb 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -392,6 +392,7 @@ my @disablables = (
     "blake2",
     "buildtest-c++",
     "bulk",
+    "cached-fetch",
     "camellia",
     "capieng",
     "cast",
index e005312bc0123bf6f87abd46bbef04db8308e213..d9aa5c47c26d3b9979386a2950b5667e8aa206cf 100644 (file)
@@ -582,6 +582,14 @@ alternative, you can use the language specific variables, `CFLAGS` and `CXXFLAGS
 Build only some minimal set of features.
 This is a developer option used internally for CI build tests of the project.
 
+### no-cached-fetch
+
+Never cache algorithms when they are fetched from a provider.  Normally, a
+provider indicates if the algorithms it supplies can be cached or not.  Using
+this option will reduce run-time memory usage but it also introduces a
+significant performance penalty.  This option is primarily designed to help
+with detecting incorrect reference counting.
+
 ### no-capieng
 
 Don't build the CAPI engine.