diff options
author | Ingela Anderton Andin <[email protected]> | 2015-03-10 15:40:37 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-03-11 17:39:16 +0100 |
commit | b65d8b7ba72a42cfe5df28577433e553d2c0f4ca (patch) | |
tree | 97e7af02625c606c482c0b3a464c92484d0edc02 /lib/ssl/src/ssl_handshake.erl | |
parent | ad771692fec71f2929bdc715cc44ca24757c75f3 (diff) | |
download | otp-b65d8b7ba72a42cfe5df28577433e553d2c0f4ca.tar.gz otp-b65d8b7ba72a42cfe5df28577433e553d2c0f4ca.tar.bz2 otp-b65d8b7ba72a42cfe5df28577433e553d2c0f4ca.zip |
ssl: Dialyzer fixes
Diffstat (limited to 'lib/ssl/src/ssl_handshake.erl')
-rw-r--r-- | lib/ssl/src/ssl_handshake.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl index 6cab8eb7a1..5c5f386c6f 100644 --- a/lib/ssl/src/ssl_handshake.erl +++ b/lib/ssl/src/ssl_handshake.erl @@ -1998,12 +1998,12 @@ crl_check(OtpCert, Check, CertDbHandle, CertDbRef, {Callback, CRLDbHandle}, _) - case dps_and_crls(OtpCert, Callback, CRLDbHandle, same_issuer) of [] -> valid; %% No relevant CRL existed - Dps -> - crl_check_same_issuer(OtpCert, Check, Dps, Options) + DpsAndCRls -> + crl_check_same_issuer(OtpCert, Check, DpsAndCRls, Options) end; - Dps -> %% This DP list may be empty if relevant CRLs existed + DpsAndCRLs -> %% This DP list may be empty if relevant CRLs existed %% but could not be retrived, will result in {bad_cert, revocation_status_undetermined} - case public_key:pkix_crls_validate(OtpCert, Dps, Options) of + case public_key:pkix_crls_validate(OtpCert, DpsAndCRLs, Options) of {bad_cert, revocation_status_undetermined} -> crl_check_same_issuer(OtpCert, Check, dps_and_crls(OtpCert, Callback, CRLDbHandle, same_issuer), Options); |