diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-14 09:09:36 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-14 09:09:36 +0000 |
| commit | 6f10e1e3a6ffdd8823ef73ccbbaa6b717a7163a0 (patch) | |
| tree | c059823aa2d9fe530939a2e8ce3e572408a069d3 /test | |
| parent | f2035367ed481629b1c09d28abb52b5df7fcee12 (diff) | |
| download | ruby-6f10e1e3a6ffdd8823ef73ccbbaa6b717a7163a0.tar.gz ruby-6f10e1e3a6ffdd8823ef73ccbbaa6b717a7163a0.tar.xz ruby-6f10e1e3a6ffdd8823ef73ccbbaa6b717a7163a0.zip | |
* ext/openssl/ossl_asn1.c (ossl_asn1cons_to_der): fix type of
argument. [ruby-dev:23891]
* test/openssl/test_x509store.rb: prune tests for CRL checking
unless X509::V_FLAG_CRL_CHECK is defined.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
| -rw-r--r-- | test/openssl/test_x509store.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/openssl/test_x509store.rb b/test/openssl/test_x509store.rb index 0887bf6ea..113e81fa5 100644 --- a/test/openssl/test_x509store.rb +++ b/test/openssl/test_x509store.rb @@ -107,6 +107,8 @@ class OpenSSL::TestX509Store < Test::Unit::TestCase assert_equal(false, store.verify(ee3_cert)) assert_match(/expire/i, store.error_string) + return unless defined?(OpenSSL::X509::V_FLAG_CRL_CHECK) + store = OpenSSL::X509::Store.new store.purpose = OpenSSL::X509::PURPOSE_ANY store.flags = OpenSSL::X509::V_FLAG_CRL_CHECK |
