[ruby-cvs:62382] rhe:r55219 (trunk): openssl: use NUM2TIMET() to convert Integer to time_t

rhe at ruby-lang.org rhe at ruby-lang.org
Mon May 30 22:02:13 JST 2016


rhe	2016-05-30 22:02:13 +0900 (Mon, 30 May 2016)

  New Revision: 55219

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55219

  Log:
    openssl: use NUM2TIMET() to convert Integer to time_t
    
    * ext/openssl/ossl_asn1.c (time_to_time_t): Use NUM2TIMET() instead of
      NUM2LONG(). time_t may be larger than long.
      [ruby-core:45552] [Bug #6571]

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_asn1.c


More information about the ruby-cvs mailing list