Doc #63436 [Opn->NoF]: error in openssl_seal documented example #1
| From: | requinix@php.net | Date: | Thu, 16 Apr 2015 11:45:37 +0000 |
| Subject: | Doc #63436 [Opn->NoF]: error in openssl_seal documented example #1 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12173@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63436&edit=1
ID: 63436
Updated by: requinix@php.net
Reported by: muhanad_alkhalisy at yahoo dot com
Summary: error in openssl_seal documented example #1
-Status: Open
+Status: No Feedback
Type: Documentation Problem
Package: Documentation problem
Operating System: windows 7
PHP Version: 5.3.18
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2012-11-07 19:27:14] mail+php at requinix dot net
I can't tell what the problem (or the fix) is supposed to be. That $ekeys is
undefined before it's passed to openssl_seal()? That's okay, it's by-reference so
the function will create the variable for you.
Please explain where the bug is.
------------------------------------------------------------------------
[2012-11-04 18:03:01] muhanad_alkhalisy at yahoo dot com
Description:
------------
---
From manual page: http://www.php.net/function.openssl-seal#refsect1-
function.openssl-seal-examples
---
Test script:
---------------
$ekeys = array();
openssl_seal($data, $sealed, $ekeys, array($pk1, $pk2));
Expected result:
----------------
return multiple envelop keys related to public keys
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63436&edit=1