summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--test/openssl/test_asn1.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 06a4b236bd..a8f783ef0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jul 3 05:15:29 2006 GOTOU Yuuzou <gotoyuzo@notwork.org>
+
+ * test/openssl/test_asn1.c: String#[]= doesnt't accept Integer.
+
Mon Jul 3 01:14:15 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_inspect): encode \b (\010) for escape.
diff --git a/test/openssl/test_asn1.rb b/test/openssl/test_asn1.rb
index f196bc48fb..86811a464c 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