mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
openssl: use the old rb_ary_tmp_new() alias
openssl has to support older versions of Ruby. Undo the change in
ext/openssl/ossl_pkey_ec.c by commit efb91ff19b
("Rename
rb_ary_tmp_new to rb_ary_hidden_new", 2022-07-25).
This commit is contained in:
parent
b7de04d161
commit
63234edf67
1 changed files with 1 additions and 1 deletions
|
@ -1462,7 +1462,7 @@ static VALUE ossl_ec_point_mul(int argc, VALUE *argv, VALUE self)
|
|||
"use #mul(bn) form instead");
|
||||
|
||||
num = RARRAY_LEN(arg1);
|
||||
bns_tmp = rb_ary_hidden_new(num);
|
||||
bns_tmp = rb_ary_tmp_new(num);
|
||||
bignums = ALLOCV_N(const BIGNUM *, tmp_b, num);
|
||||
for (i = 0; i < num; i++) {
|
||||
VALUE item = RARRAY_AREF(arg1, i);
|
||||
|
|
Loading…
Reference in a new issue