Doc #54330 [Asn->Csd]: incorrect variable in example
| From: | aharvey@php.net | Date: | Mon, 21 Mar 2011 04:53:40 +0000 |
| Subject: | Doc #54330 [Asn->Csd]: incorrect variable in example | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6110@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: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2011-03-21 05:53:35] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=309492
Log: Fix doc bug #54330 (incorrect variable in example).
------------------------------------------------------------------------
[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