summaryrefslogtreecommitdiffstats
path: root/test/test_x509crl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_x509crl.rb')
-rw-r--r--test/test_x509crl.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_x509crl.rb b/test/test_x509crl.rb
index fd66c97..cd1ccc9 100644
--- a/test/test_x509crl.rb
+++ b/test/test_x509crl.rb
@@ -112,6 +112,10 @@ class OpenSSL::TestX509CRL < OpenSSL::TestCase
assert_equal(1000, revoked.size)
assert_equal(1, revoked[0].serial)
assert_equal(1000, revoked[999].serial)
+
+ crl.revoked = revoked
+ revoked2 = crl.revoked
+ assert_equal(revoked.map(&:serial), revoked2.map(&:serial))
end
def test_extension