aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key/src/pubkey_crl.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-03-09 10:25:41 +0100
committerIngela Anderton Andin <[email protected]>2015-03-09 10:25:41 +0100
commit735871e63c86814a0f099ab422b4d5bc8821579a (patch)
tree8978148e06526ff4e03c7198a21314bb96da2f59 /lib/public_key/src/pubkey_crl.erl
parent317067dc20574f76a0cdbd8a57567938fd484e39 (diff)
parent07abc92d5c763cee81bf69695e35a658ddc961dc (diff)
downloadotp-735871e63c86814a0f099ab422b4d5bc8821579a.tar.gz
otp-735871e63c86814a0f099ab422b4d5bc8821579a.tar.bz2
otp-735871e63c86814a0f099ab422b4d5bc8821579a.zip
Merge branch 'maint'
Diffstat (limited to 'lib/public_key/src/pubkey_crl.erl')
-rw-r--r--lib/public_key/src/pubkey_crl.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public_key/src/pubkey_crl.erl b/lib/public_key/src/pubkey_crl.erl
index f0df4bc3f2..488cc97c70 100644
--- a/lib/public_key/src/pubkey_crl.erl
+++ b/lib/public_key/src/pubkey_crl.erl
@@ -41,10 +41,10 @@ validate(OtpCert, OtherDPCRLs, DP, {DerCRL, CRL}, {DerDeltaCRL, DeltaCRL},
CRLIssuer = TBSCRL#'TBSCertList'.issuer,
AltNames = case pubkey_cert:select_extension(?'id-ce-subjectAltName',
TBSCert#'OTPTBSCertificate'.extensions) of
- undefined ->
- [];
- Ext ->
- Ext#'Extension'.extnValue
+ #'Extension'{extnValue = Value} ->
+ Value;
+ _ ->
+ []
end,
revoked_status(DP, IDP, {directoryName, CRLIssuer},
[ {directoryName, CertIssuer} | AltNames], SerialNumber, Revoked,