From 908f20c480032e75db4bb8d30343b8f351ee4f4d Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Sun, 17 Jun 2007 09:01:21 +0000 Subject: [PATCH] Fix repeated example documentation line and typo in example (fixes bug #41627) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237895 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mcrypt/functions/mcrypt-module-open.xml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/reference/mcrypt/functions/mcrypt-module-open.xml b/reference/mcrypt/functions/mcrypt-module-open.xml index 88609df38a..a1b734d5a8 100644 --- a/reference/mcrypt/functions/mcrypt-module-open.xml +++ b/reference/mcrypt/functions/mcrypt-module-open.xml @@ -1,5 +1,5 @@ - + @@ -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); @@ -97,13 +97,6 @@ - - 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 - /usr/lib/mcrypt-modes. 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. - See also mcrypt_module_close,