Doc #54330 [Opn->Asn]: incorrect variable in example
| From: | aharvey@php.net | Date: | Mon, 21 Mar 2011 04:51:29 +0000 |
| Subject: | Doc #54330 [Opn->Asn]: incorrect variable in example | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6109@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54330&edit=1
ID: 54330
Updated by: aharvey@php.net
Reported by: abrender at elitehosts dot com
Summary: incorrect variable in example
-Status: Open
+Status: Assigned
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2011-03-21 05:31:15] abrender at elitehosts dot com
Description:
------------
---
From manual page: http://www.php.net/function.openssl-csr-sign#Examples
---
The variable is declared as $userscert
$userscert = openssl_csr_sign($csrdata, $cacert, $privkey, 365);
Notice the plural 'users'... then in the next call is called as
$usercert (notice
the missing s)
....
openssl_x509_export($usercert, $certout);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54330&edit=1