Project

General

Profile

« Previous | Next » 

Revision 544daf1f

Added by nahi (Hiroshi Nakamura) almost 13 years ago

  • 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