Project

General

Profile

« Previous | Next » 

Revision 3333b6b7

Added by rhe almost 8 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e