Doc #73974 [Opn->Csd]: Certificate argument should be file://mycert.pem and not mycert.pem
| From: | krakjoe@php.net | Date: | Mon, 23 Jan 2017 12:57:05 +0000 |
| Subject: | Doc #73974 [Opn->Csd]: Certificate argument should be file://mycert.pem and not mycert.pem | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14367@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73974&edit=1
ID: 73974
Updated by: krakjoe@php.net
Reported by: hablutzel1 at gmail dot com
Summary: Certificate argument should be file://mycert.pem and
not mycert.pem
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: OpenSSL related
Operating System: Ubuntu 16.04.1 LTS
PHP Version: 7.1.1
-Assigned To:
+Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2017-01-23 12:56:37] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=341751
Log: Fix #73974 incorrect example in openssl_pkcs7_sign documentation
------------------------------------------------------------------------
[2017-01-23 02:24:51] hablutzel1 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.openssl-pkcs7-sign
---
In example #1:
if (openssl_pkcs7_sign("msg.txt", "signed.txt", "mycert.pem",...
Should be:
if (openssl_pkcs7_sign("msg.txt", "signed.txt",
"file://mycert.pem",...
See too http://php.net/manual/en/function.openssl-pkcs7-sign.php#21212
for details.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73974&edit=1