reference/openssl/functions/openssl-x509-free.xml
52dc204a77076e1404257cf39f179882b90b5780
...
...
@@ -1,20 +1,25 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.openssl-x509-free">
3
+
<refentry xml:id="function.openssl-x509-free" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>openssl_x509_free</refname>
6
6
<refpurpose>Free certificate resource</refpurpose>
7
7
</refnamediv>
8
8

9
+
<refsynopsisdiv>
10
+
&warn.deprecated.function-8-0-0;
11
+
</refsynopsisdiv>
12
+
9
13
<refsect1 role="description">
10
14
&reftitle.description;
11
15
<methodsynopsis>
12
16
<type>void</type><methodname>openssl_x509_free</methodname>
13
-
<methodparam><type>resource</type><parameter>x509cert</parameter></methodparam>
17
+
<methodparam><type>OpenSSLCertificate</type><parameter>certificate</parameter></methodparam>
14
18
</methodsynopsis>
19
+
&note.resource-migration-8.0-dead-function;
15
20
<para>
16
21
<function>openssl_x509_free</function> frees the certificate associated
17
-
with the specified <parameter>x509cert</parameter> resource from memory.
22
+
with the specified <parameter>certificate</parameter> resource from memory.
18
23
</para>
19
24
</refsect1>
20
25

...
...
@@ -23,7 +28,7 @@
23
28
<para>
24
29
<variablelist>
25
30
<varlistentry>
26
-
<term><parameter>x509cert</parameter></term>
31
+
<term><parameter>certificate</parameter></term>
27
32
<listitem>
28
33
<para>
29
34
</para>
...
...
@@ -40,8 +45,36 @@
40
45
</para>
41
46
</refsect1>
42
47

43
-
</refentry>
48
+
<refsect1 role="changelog">
49
+
&reftitle.changelog;
50
+
<informaltable>
51
+
<tgroup cols="2">
52
+
<thead>
53
+
<row>
54
+
<entry>&Version;</entry>
55
+
<entry>&Description;</entry>
56
+
</row>
57
+
</thead>
58
+
<tbody>
59
+
<row>
60
+
<entry>8.0.0</entry>
61
+
<entry>
62
+
This function is now deprecated as it doesn't have an effect anymore.
63
+
</entry>
64
+
</row>
65
+
<row>
66
+
<entry>8.0.0</entry>
67
+
<entry>
68
+
<parameter>certificate</parameter> accepts an <classname>OpenSSLCertificate</classname> instance now;
69
+
previously, a &resource; of type <literal>OpenSSL X.509</literal> was accepted.
70
+
</entry>
71
+
</row>
72
+
</tbody>
73
+
</tgroup>
74
+
</informaltable>
75
+
</refsect1>
44
76

77
+
</refentry>
45
78
<!-- Keep this comment at the end of the file
46
79
Local variables:
47
80
mode: sgml
48
81