]> granicus.if.org Git - php/commitdiff
Fix uninitialized value.
authorWez Furlong <wez@php.net>
Mon, 13 Oct 2003 11:42:22 +0000 (11:42 +0000)
committerWez Furlong <wez@php.net>
Mon, 13 Oct 2003 11:42:22 +0000 (11:42 +0000)
Patch from Joe Orton.

ext/openssl/openssl.c

index 1964ea593309ce71400c9647a0f5512119b9a536..d2f5999b0f40c18bc41cc6a0328e2a5564f500e1 100644 (file)
@@ -1433,7 +1433,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;