зеркало из https://github.com/github/ruby.git
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
b9bfdbb13e
Коммит
1a760a6f76
|
@ -1,3 +1,11 @@
|
||||||
|
Wed Jul 14 18:05:21 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Wed Jul 14 12:20:05 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
Wed Jul 14 12:20:05 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||||
|
|
||||||
* util.c (ruby_strtod): should not convert string in the form of
|
* util.c (ruby_strtod): should not convert string in the form of
|
||||||
|
|
|
@ -950,7 +950,7 @@ ossl_asn1prim_to_der(VALUE self)
|
||||||
}
|
}
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
ossl_asn1cons_to_der(self)
|
ossl_asn1cons_to_der(VALUE self)
|
||||||
{
|
{
|
||||||
int tag, tn, tc, explicit;
|
int tag, tn, tc, explicit;
|
||||||
long seq_len, length;
|
long seq_len, length;
|
||||||
|
|
|
@ -107,6 +107,8 @@ class OpenSSL::TestX509Store < Test::Unit::TestCase
|
||||||
assert_equal(false, store.verify(ee3_cert))
|
assert_equal(false, store.verify(ee3_cert))
|
||||||
assert_match(/expire/i, store.error_string)
|
assert_match(/expire/i, store.error_string)
|
||||||
|
|
||||||
|
return unless defined?(OpenSSL::X509::V_FLAG_CRL_CHECK)
|
||||||
|
|
||||||
store = OpenSSL::X509::Store.new
|
store = OpenSSL::X509::Store.new
|
||||||
store.purpose = OpenSSL::X509::PURPOSE_ANY
|
store.purpose = OpenSSL::X509::PURPOSE_ANY
|
||||||
store.flags = OpenSSL::X509::V_FLAG_CRL_CHECK
|
store.flags = OpenSSL::X509::V_FLAG_CRL_CHECK
|
||||||
|
|
Загрузка…
Ссылка в новой задаче