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:
Kazuki Yamaguchi 2022-10-17 16:17:27 +09:00
Родитель b7de04d161
Коммит 63234edf67
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);