File 1033-fix-crl-move-list-unwrapping-to-cache_lookup-only.patch of Package erlang

From 10c0d7ebf5192a4cffd2f77b7f4ce1e1a8017b9c Mon Sep 17 00:00:00 2001
From: Thales Macedo Garitezi <thalesmg@gmail.com>
Date: Wed, 22 Jun 2022 09:40:17 -0300
Subject: [PATCH 3/4] fix(crl): move list unwrapping to `cache_lookup` only

---
 lib/ssl/src/ssl_crl_cache.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ssl/src/ssl_crl_cache.erl b/lib/ssl/src/ssl_crl_cache.erl
index 7a8bcf5758..909b137c08 100644
--- a/lib/ssl/src/ssl_crl_cache.erl
+++ b/lib/ssl/src/ssl_crl_cache.erl
@@ -64,7 +64,7 @@ fresh_crl(#'DistributionPoint'{distributionPoint = {fullName, Names}}, CRL) ->
     case get_crls(Names, undefined) of
 	not_available ->
 	    CRL;
-	[NewCRL] ->
+	NewCRL ->
 	    NewCRL
     end.
 
-- 
2.35.3

openSUSE Build Service is sponsored by