Doc #75447 [Opn->Ver]: openssl_open and openssl_seal : undocumented parameter iv
| From: | cmb@php.net | Date: | Sat, 28 Oct 2017 14:19:41 +0000 |
| Subject: | Doc #75447 [Opn->Ver]: openssl_open and openssl_seal : undocumented parameter iv | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15189@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75447&edit=1
ID: 75447
Updated by: cmb@php.net
Reported by: fabien dot villepinte at gmail dot com
Summary: openssl_open and openssl_seal : undocumented
parameter iv
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: OpenSSL related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2017-10-27 15:42:55] fabien dot villepinte at gmail dot com
Description:
------------
There are some errors in the documentation of openssl_open() and openssl_seal().
http://php.net/manual/en/function.openssl-open.php
http://php.net/manual/en/function.openssl-seal.php
There are 5 parameters in the signature of openssl_open() but only 4 in the list of parameters
below.
The default value of the 5th parameter is "RC4" (like openssl_seal) but it is not
documented.
Furthermore openssl_open() accepts a 6th parameter "iv".
openssl_seal() also accepts a 6th parameter "iv", passed by reference.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75447&edit=1