ruby-cvs:23928
From: knu ruby-lang.org
Date: Fri, 30 May 2008 02:44:09 +0900 (JST)
Subject: [ruby-cvs:23928] Ruby:r16690 (ruby_1_8): * ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand),
knu 2008-05-30 02:44:08 +0900 (Fri, 30 May 2008)
New Revision: 16690
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/ext/openssl/ossl_bn.c
branches/ruby_1_8/ext/openssl/ossl_pkey_dh.c
branches/ruby_1_8/ext/openssl/ossl_pkey_dsa.c
branches/ruby_1_8/ext/openssl/ossl_rand.c
branches/ruby_1_8/ext/openssl/ossl_x509store.c
Log:
* ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand),
ext/openssl/ossl_pkey_dh.c (ossl_dh_s_generate)
(ossl_dh_initialize),
ext/openssl/ossl_pkey_dsa.c (ossl_dsa_s_generate),
ext/openssl/ossl_rand.c (ossl_rand_bytes)
(ossl_rand_pseudo_bytes, ossl_rand_egd_bytes),
ext/openssl/ossl_x509store.c (ossl_x509stctx_set_error): Do not
use FIX2INT() without checking the value type. Use NUM2INT()
instead; found by akr in [ruby-dev:34890].
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/openssl/ossl_rand.c?r1=16690&r2=16689&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16690&r2=16689&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/openssl/ossl_pkey_dh.c?r1=16690&r2=16689&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/openssl/ossl_bn.c?r1=16690&r2=16689&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/openssl/ossl_pkey_dsa.c?r1=16690&r2=16689&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/openssl/ossl_x509store.c?r1=16690&r2=16689&diff_format=u