summaryrefslogtreecommitdiffstats
path: root/test/openssl/utils.rb
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-30 18:21:39 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-30 18:21:39 +0000
commitd1b92d20e7eb57eb5611a3cf3331f248e618ecb4 (patch)
treee6d1224b20f87d8d7cae95775ecdbabf04fc9522 /test/openssl/utils.rb
parent67bfb5bf0e62de7c9611420ddf51b1472244a576 (diff)
downloadruby-d1b92d20e7eb57eb5611a3cf3331f248e618ecb4.tar.gz
ruby-d1b92d20e7eb57eb5611a3cf3331f248e618ecb4.tar.xz
ruby-d1b92d20e7eb57eb5611a3cf3331f248e618ecb4.zip
* ext/openssl/ossl_ssl.c (ossl_ssl_read): take optional second argument
to specify a string to be written. * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#read): take optional second argument to specify a string to be written. * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#gets): refine regexp for end-of-line. * ext/opnessl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder#listen): fix typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/utils.rb')
-rw-r--r--test/openssl/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb
index 8c0d34c93..c923705b8 100644
--- a/test/openssl/utils.rb
+++ b/test/openssl/utils.rb
@@ -99,8 +99,8 @@ Q1VB8qkJN7rA7/2HrCR3gTsWNb1YhAsnFsoeRscC+LxXoXi9OAIUBG98h4tilg6S
def issue_crl(revoke_info, serial, lastup, nextup, extensions,
issuer, issuer_key, digest)
crl = OpenSSL::X509::CRL.new
- crl.version = 1
crl.issuer = issuer.subject
+ crl.version = 1
crl.last_update = lastup
crl.next_update = nextup
revoke_info.each{|serial, time, reason_code|