ruby-changes:11575
From: yugui <ko1@a...>
Date: Sun, 19 Apr 2009 22:33:36 +0900 (JST)
Subject: [ruby-changes:11575] Ruby:r23211 (ruby_1_9_1): merges r22916 from trunk into ruby_1_9_1.
yugui 2009-04-19 22:32:18 +0900 (Sun, 19 Apr 2009) New Revision: 23211 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23211 Log: merges r22916 from trunk into ruby_1_9_1. -- * ext/openssl/ossl_ssl.c (ossl_ssl_def_const): use INT2NUM because OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG doesn't fit into Fixnum. Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/ext/openssl/ossl_ssl.c Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 23210) +++ ruby_1_9_1/ChangeLog (revision 23211) @@ -1,3 +1,8 @@ +Thu Mar 12 22:14:01 2009 Tanaka Akira <akr@f...> + + * ext/openssl/ossl_ssl.c (ossl_ssl_def_const): use INT2NUM because + OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG doesn't fit into Fixnum. + Thu Mar 12 05:22:50 2009 Nobuyoshi Nakada <nobu@r...> * io.c (copy_stream_fallback_body): off_t may be larger than long. Index: ruby_1_9_1/ext/openssl/ossl_ssl.c =================================================================== --- ruby_1_9_1/ext/openssl/ossl_ssl.c (revision 23210) +++ ruby_1_9_1/ext/openssl/ossl_ssl.c (revision 23211) @@ -1431,7 +1431,7 @@ rb_define_method(cSSLSocket, "session=", ossl_ssl_set_session, 1); rb_define_method(cSSLSocket, "verify_result", ossl_ssl_get_verify_result, 0); -#define ossl_ssl_def_const(x) rb_define_const(mSSL, #x, INT2FIX(SSL_##x)) +#define ossl_ssl_def_const(x) rb_define_const(mSSL, #x, INT2NUM(SSL_##x)) ossl_ssl_def_const(VERIFY_NONE); ossl_ssl_def_const(VERIFY_PEER); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/