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 efb91ff19b73 ("Rename rb_ary_tmp_new to rb_ary_hidden_new", 2022-07-25).
This commit is contained in:
parent
b7de04d161
commit
63234edf67
@ -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…
x
Reference in New Issue
Block a user