Skip to content

Commit

Permalink
Fix the missing array creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sikuan committed May 2, 2020
1 parent d24041a commit 0651c2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/openssl/ossl_x509cert.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,8 @@ ossl_x509_load_chained_cert_from_file(VALUE self, VALUE path)
{
BIO *in;
X509 *x509;
VALUE ary, cert;
VALUE ary = rb_ary_new();
VALUE cert;

in = BIO_new(BIO_s_file());
if (in == NULL)
Expand Down

0 comments on commit 0651c2f

Please sign in to comment.