diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-28 21:58:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-28 21:58:36 +0000 |
commit | 6fb5140dd6fa398d6f09804e3c035254958763c0 (patch) | |
tree | 57b221b6db780b65b18c817418671941141f72dc /ext/tk | |
parent | 312a5a8cb47d903f43129bd226a11c96c7e21011 (diff) | |
download | ruby-6fb5140dd6fa398d6f09804e3c035254958763c0.tar.gz |
ossl_bn.c: reduce alloca/malloc
* ext/openssl/ossl_bn.c (ossl_bn_initialize): no need of alloca for
small fixed size array.
* ext/openssl/ossl_bn.c (ossl_bn_initialize): check overflow first,
and use alloca for small size input.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
0 files changed, 0 insertions, 0 deletions