svn: /phpdoc/en/trunk/reference/openssl/ constants.xml
| From: | Sherif Ramadan | Date: | Mon, 07 Jan 2013 21:03:09 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/openssl/ constants.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10898@lists.php.net to get a copy of this message | ||
googleguy Mon, 07 Jan 2013 21:03:09 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=329005
Log:
Documenting MD2 and EC openssl constants
Patch by Mark Jones - mark@zedwood.com
Changed paths:
U phpdoc/en/trunk/reference/openssl/constants.xml
Modified: phpdoc/en/trunk/reference/openssl/constants.xml
===================================================================
--- phpdoc/en/trunk/reference/openssl/constants.xml 2013-01-07 18:53:54 UTC (rev 329004)
+++ phpdoc/en/trunk/reference/openssl/constants.xml 2013-01-07 21:03:09 UTC (rev 329005)
@@ -172,7 +172,24 @@
</simpara>
</listitem>
</varlistentry>
+ <varlistentry xml:id="constant.openssl-keytype-ec">
+ <term>
+ <constant>OPENSSL_KEYTYPE_EC</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ This constant is only available when PHP is compiled with OpenSSL 0.9.8+.
+ </simpara>
+ </listitem>
+ </varlistentry>
</variablelist>
+ <note>
+ <para>This constant was added in 5.2.0.</para>
+ <para>
+ <constant>OPENSSL_KEYTYPE_EC</constant>
+ </para>
+ </note>
</section>
<section xml:id="openssl.pkcs7.flags">
@@ -377,7 +394,10 @@
</term>
<listitem>
<simpara>
-
+ As of PHP 5.2.13 and PHP 5.3.2, this constant is only available
+ if PHP is compiled with MD2 support. This requires passing in the
+ -DHAVE_OPENSSL_MD2_H CFLAG when compiling PHP, and enable-md2 when
+ compiling OpenSSL 1.0.0+.
</simpara>
</listitem>
</varlistentry>