aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/test_x509name.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-23 10:36:09 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-23 10:36:09 +0000
commit544daf1f7abc19fd1577b1aafd7abebef4ee19d7 (patch)
treeb90a9bb3bdf32244a81205a4a2028779ccdce07c /test/openssl/test_x509name.rb
parenta02504ba843f476edfe6cb41b93fefe01c9594c8 (diff)
downloadruby-544daf1f7abc19fd1577b1aafd7abebef4ee19d7.tar.gz
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_time): Check
argument type with NUM2LONG if the arg is not a Time object. See #4919. * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_timeout): Check type with NUM2LONG. Time as an arg is not allowed. See #4919. * test/openssl/test_ssl_session.rb (test_session_time, test_session_timeout): Test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_x509name.rb')
0 files changed, 0 insertions, 0 deletions