]> granicus.if.org Git - php/commitdiff
Fix unintialized variable.
authorWez Furlong <wez@php.net>
Mon, 13 Oct 2003 11:43:14 +0000 (11:43 +0000)
committerWez Furlong <wez@php.net>
Mon, 13 Oct 2003 11:43:14 +0000 (11:43 +0000)
Patch by Joe Orton.

ext/openssl/openssl.c

index f6765e5c87709528335f638e2634d4f8a4fc8973..490f7810a51fb712144b97633e2640164c8de072 100644 (file)
@@ -1477,7 +1477,7 @@ PHP_FUNCTION(openssl_csr_sign)
        long serial = 0L;
        X509 * cert = NULL, *new_cert = NULL;
        X509_REQ * csr;
-       EVP_PKEY * key = NULL, *priv_key;
+       EVP_PKEY * key = NULL, *priv_key = NULL;
        long csr_resource, certresource, keyresource;
        int i;
        struct php_x509_request req;