From 3530b8a2c665c88dfd7341e36ab93e05a6141a91 Mon Sep 17 00:00:00 2001 From: Rob Richards Date: Thu, 5 Apr 2007 18:08:42 +0000 Subject: fix win32 build --- ext/openssl/openssl.c | 5 ++--- 1 file 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)) { -- cgit v1.2.1