diff options
Diffstat (limited to 'crypto/src/asn1/esf/RevocationValues.cs')
-rw-r--r-- | crypto/src/asn1/esf/RevocationValues.cs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/crypto/src/asn1/esf/RevocationValues.cs b/crypto/src/asn1/esf/RevocationValues.cs index 2d9175275..78cc1af0d 100644 --- a/crypto/src/asn1/esf/RevocationValues.cs +++ b/crypto/src/asn1/esf/RevocationValues.cs @@ -59,16 +59,8 @@ namespace Org.BouncyCastle.Asn1.Esf public RevocationValues(CertificateList[] crlVals, BasicOcspResponse[] ocspVals, OtherRevVals otherRevVals) { - if (crlVals != null) - { - m_crlVals = DerSequence.FromElements(crlVals); - } - - if (ocspVals != null) - { - m_ocspVals = DerSequence.FromElements(ocspVals); - } - + m_crlVals = DerSequence.FromElementsOptional(crlVals); + m_ocspVals = DerSequence.FromElementsOptional(ocspVals); m_otherRevVals = otherRevVals; } |