Skip to content

Commit 06274b9

Browse files
vjardinGirgias
authored andcommitted
Improve openssl-pkcs7-read + example for p7b
The input shall be a string data. Basic example along with the error cases. Fix: related to, php/php-src@bb0107b
1 parent f221315 commit 06274b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/openssl/functions/openssl-pkcs7-read.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
&reftitle.description;
1111
<methodsynopsis>
1212
<type>bool</type><methodname>openssl_pkcs7_read</methodname>
13-
<methodparam><type>string</type><parameter>input_filename</parameter></methodparam>
13+
<methodparam><type>string</type><parameter>data</parameter></methodparam>
1414
<methodparam><type>array</type><parameter role="reference">certificates</parameter></methodparam>
1515
</methodsynopsis>
1616
<para>
@@ -25,7 +25,7 @@
2525
&reftitle.parameters;
2626
<variablelist>
2727
<varlistentry>
28-
<term><parameter>input_filename</parameter></term>
28+
<term><parameter>data</parameter></term>
2929
<listitem>
3030
<para>
3131
The string of data you wish to parse (p7b format).

0 commit comments

Comments
 (0)