File 0204-ssl-fix-documentation-of-option-crl_cache.patch of Package erlang
From a6bbecbaf8b2da6eee2286dbbae256aafe342765 Mon Sep 17 00:00:00 2001
From: Luca Favatella <luca.favatella@onfido.com>
Date: Wed, 8 Apr 2020 18:10:39 +0100
Subject: [PATCH] ssl: fix documentation of option `crl_cache`
... restoring it to its intended value before e042afe547 that planted
the type for using it in the doc.
---
lib/ssl/src/ssl.erl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index ca6b65e8db..3a6c2e4f38 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -340,7 +340,9 @@
-type custom_verify() :: {Verifyfun :: fun(), InitialUserState :: any()}.
-type crl_check() :: boolean() | peer | best_effort.
--type crl_cache_opts() :: [any()].
+-type crl_cache_opts() :: {Module :: atom(),
+ {DbHandle :: internal | term(),
+ Args :: list()}}.
-type handshake_size() :: integer().
-type hibernate_after() :: timeout().
-type root_fun() :: fun().
--
2.16.4