mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
use INT2FIX(0) instead of INT2NUM(0).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6520da6245
commit
dbec401c11
7 changed files with 25 additions and 10 deletions
|
@ -135,9 +135,9 @@ ossl_x509store_initialize(int argc, VALUE *argv, VALUE self)
|
|||
ossl_x509store_set_vfy_cb(self, Qnil);
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER < 0x00907000L)
|
||||
rb_iv_set(self, "@flags", INT2NUM(0));
|
||||
rb_iv_set(self, "@purpose", INT2NUM(0));
|
||||
rb_iv_set(self, "@trust", INT2NUM(0));
|
||||
rb_iv_set(self, "@flags", INT2FIX(0));
|
||||
rb_iv_set(self, "@purpose", INT2FIX(0));
|
||||
rb_iv_set(self, "@trust", INT2FIX(0));
|
||||
#endif
|
||||
|
||||
/* last verification status */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue