https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114668

Revision: 114668
Author:   platonides
Date:     2012-04-02 22:08:41 +0000 (Mon, 02 Apr 2012)
Log Message:
-----------
CryptRand can take advantage of openssl and mcrypt extensions
to generate entropy.

Modified Paths:
--------------
    trunk/tools/code-utils/check-vars.php

Modified: trunk/tools/code-utils/check-vars.php
===================================================================
--- trunk/tools/code-utils/check-vars.php       2012-04-02 22:01:02 UTC (rev 
114667)
+++ trunk/tools/code-utils/check-vars.php       2012-04-02 22:08:41 UTC (rev 
114668)
@@ -64,11 +64,12 @@
        static $mConstantsDefault = array();
 
        # Ignore constants with these prefixes:
-       static $constantIgnorePrefixes = array( "PGSQL_", "OCI_", "SQLT_", 
"DB2_", "XMLREADER_", "SQLSRV_" );
+       static $constantIgnorePrefixes = array( "PGSQL_", "OCI_", "SQLT_", 
"DB2_", "XMLREADER_", "SQLSRV_", "MCRYPT_" );
        # Ignore functions with these prefixes:
        static $functionIgnorePrefixes = array( "pg_", "oci_", "db2_", "gmp_", 
"sqlsrv_", "exif_", "fss_", "tidy_",
                        "apc_", "eaccelerator_", "xcache_", "wincache_", 
"apache_", "xdiff_", "wikidiff2_", "parsekit_",
                        "wddx_", "setproctitle", "utf8_", "normalizer_", 
"dba_", "pcntl_", "finfo_", "mime_content_type", "curl_",
+                       "openssl_", "mcrypt_",
                        # GD and images functions:
                        "imagecreatetruecolor", "imagecolorallocate", 
"imagecolortransparent", "imagealphablending",
                        "imagecopyresized", "imagesx", "imagesy", 
"imagecopyresampled", "imagesavealpha",


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to