1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
rhe a24fe080a4 openssl: check argument type in OpenSSL::X509::Attribute#value=
* ext/openssl/ossl_x509attr.c (ossl_x509attr_set_value): check that the
  argument is an OpenSSL::ASN1::Data before converting to ASN1_TYPE.
  This fixes SEGV on OpenSSL::X509::Attribute#value=(non-asn1-value).

* test/openssl/test_x509attr.rb: add tests for OpenSSL::X509::Attribute.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-19 04:12:57 +00:00
..
-test-
bigdecimal
cgi/escape
continuation
coverage
date
dbm
digest
etc
fcntl
fiber
fiddle
gdbm
io
json
mathn
nkf
objspace
openssl
pathname
psych
pty
racc/cparse
rbconfig/sizeof
readline
ripper
sdbm
socket
stringio
strscan
syslog
tk
win32
win32ole
zlib
.document
extmk.rb
Setup
Setup.atheos
Setup.nacl
Setup.nt