aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-03-16 11:07:58 +0100
committerIngela Anderton Andin <[email protected]>2015-03-16 11:07:58 +0100
commitb6b94b0100785ce749db8bb7a31c3a3e69c3ddda (patch)
treeaf2612154ffc76877704ef2b727f618b167772e5
parent0b467d9ef8171f21938cdd7664567693df33d35c (diff)
parentfaaa62b5955ab8e342b08521036426ca72d98ab3 (diff)
downloadotp-b6b94b0100785ce749db8bb7a31c3a3e69c3ddda.tar.gz
otp-b6b94b0100785ce749db8bb7a31c3a3e69c3ddda.tar.bz2
otp-b6b94b0100785ce749db8bb7a31c3a3e69c3ddda.zip
Merge branch 'ia/ssl/crls-dialyzer2'
* ia/ssl/crls-dialyzer2: ssl: Fix incorrect argument handling, thanks to dialyzer
-rw-r--r--lib/ssl/src/ssl_crl_cache.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/src/ssl_crl_cache.erl b/lib/ssl/src/ssl_crl_cache.erl
index b2bdb19979..b9d6a61c3b 100644
--- a/lib/ssl/src/ssl_crl_cache.erl
+++ b/lib/ssl/src/ssl_crl_cache.erl
@@ -34,7 +34,7 @@
%% Cache callback API
%%====================================================================
-lookup(#'DistributionPoint'{distributionPoint={fullName, Names}},
+lookup(#'DistributionPoint'{distributionPoint = {fullName, Names}},
CRLDbInfo) ->
get_crls(Names, CRLDbInfo);
lookup(_,_) ->
@@ -48,8 +48,8 @@ select(Issuer, {{_Cache, Mapping},_}) ->
CRLs
end.
-fresh_crl(DistributionPoint, CRL) ->
- case get_crls(DistributionPoint, undefined) of
+fresh_crl(#'DistributionPoint'{distributionPoint = {fullName, Names}}, CRL) ->
+ case get_crls(Names, undefined) of
not_available ->
CRL;
[NewCRL] ->