diff options
| -rw-r--r-- | ext/openssl/openssl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 6e414f5a8a..63969ae6b8 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1567,11 +1567,10 @@ PHP_FUNCTION(openssl_pkcs12_read) if(d2i_PKCS12_bio(bio_in, &p12)) { if(PKCS12_parse(p12, pass, &pkey, &cert, &ca)) { - + BIO * bio_out; + zval_dtor(zout); array_init(zout); - - BIO * bio_out; bio_out = BIO_new(BIO_s_mem()); if (PEM_write_bio_X509(bio_out, cert)) { |
