summaryrefslogtreecommitdiff
path: root/test/openssl
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-02 20:17:50 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-02 20:17:50 +0000
commite382c5dde3a4fd6664f941dedd74515c41ae7618 (patch)
treebf671c00ae2f25215769879c3694e992ccc5bb6b /test/openssl
parent9a7153419d6e84e5edf940ef4dc1abce81db6a61 (diff)
* test/openssl/test_asn1.c: String#[]= doesnt't accept Integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl')
-rw-r--r--test/openssl/test_asn1.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_asn1.rb b/test/openssl/test_asn1.rb
index f196bc4..86811a4 100644
--- a/test/openssl/test_asn1.rb
+++ b/test/openssl/test_asn1.rb
@@ -169,7 +169,7 @@ class OpenSSL::TestASN1 < Test::Unit::TestCase
assert_equal(OpenSSL::ASN1::OctetString, ext.value[2].class)
extv = OpenSSL::ASN1.decode(ext.value[2].value)
assert_equal(OpenSSL::ASN1::BitString, extv.class)
- str = "\000"; str[0] = 0b00000110
+ str = "\000"; str[0] = 0b00000110.chr
assert_equal(str, extv.value)
ext = extensions.value[0].value[2] # subjetKeyIdentifier