diff options
Diffstat (limited to 'ext/openssl/ossl_x509store.c')
-rw-r--r-- | ext/openssl/ossl_x509store.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/openssl/ossl_x509store.c b/ext/openssl/ossl_x509store.c index 5e3094ee9f..2afa0cf595 100644 --- a/ext/openssl/ossl_x509store.c +++ b/ext/openssl/ossl_x509store.c @@ -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 */ |