diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-23 10:36:09 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-23 10:36:09 +0000 |
commit | 544daf1f7abc19fd1577b1aafd7abebef4ee19d7 (patch) | |
tree | b90a9bb3bdf32244a81205a4a2028779ccdce07c /signal.c | |
parent | a02504ba843f476edfe6cb41b93fefe01c9594c8 (diff) | |
download | ruby-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 'signal.c')
0 files changed, 0 insertions, 0 deletions