Doc #63436 [Com]: error in openssl_seal documented example #1

From: Date: Wed, 07 Nov 2012 19:27:14 +0000
Subject: Doc #63436 [Com]: error in openssl_seal documented example #1
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9070@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 Comment by: mail+php at requinix dot net Reported by: muhanad_alkhalisy at yahoo dot com Summary: error in openssl_seal documented example #1 Status: Open Type: Documentation Problem Package: Documentation problem Operating System: windows 7 PHP Version: 5.3.18 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#9070) next »