mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
9a7153419d
commit
e382c5dde3
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue