gwynne Sun Jun 17 09:01:21 2007 UTC
Modified files: /phpdoc/en/reference/mcrypt/functions mcrypt-module-open.xml Log: Fix repeated example documentation line and typo in example (fixes bug #41627) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml diff -u phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.9 phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.10 --- phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml:1.9 Sun Jan 18 19:25:40 2004 +++ phpdoc/en/reference/mcrypt/functions/mcrypt-module-open.xml Sun Jun 17 09:01:21 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/mcrypt.xml, last change in rev 1.7 --> <refentry id="function.mcrypt-module-open"> <refnamediv> @@ -63,7 +63,7 @@ /* Open the cipher */ $td = mcrypt_module_open('rijndael-256', '', 'ofb', ''); - /* Create the IV and determine the keysize length, used MCRYPT_RAND + /* Create the IV and determine the keysize length, use MCRYPT_RAND * on Windows instead */ $iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_DEV_RANDOM); $ks = mcrypt_enc_get_key_size($td); @@ -98,13 +98,6 @@ </example> </para> <para> - The first line in the example above will try to open the DES cipher from - the default directory and the EBC mode from the directory - <filename>/usr/lib/mcrypt-modes</filename>. The second example uses - strings as name for the cipher and mode, this only works when the - extension is linked against libmcrypt 2.4.x or 2.5.x. - </para> - <para> See also <function>mcrypt_module_close</function>, <function>mcrypt_generic</function>,