Changeset 42344
- Timestamp:
- 12/01/2017 03:06:13 AM (2 years ago)
- Location:
- branches/4.9/src/wp-includes/random_compat
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9/src/wp-includes/random_compat/random_bytes_com_dotnet.php
r36886 r42344 27 27 */ 28 28 29 if ( ! is_callable( 'random_bytes' ) ): 29 30 /** 30 31 * Windows with PHP < 5.3.0 will not have the function … … 80 81 ); 81 82 } 83 endif; -
branches/4.9/src/wp-includes/random_compat/random_bytes_dev_urandom.php
r36886 r42344 31 31 } 32 32 33 if ( ! is_callable( 'random_bytes' ) ): 33 34 /** 34 35 * Unless open_basedir is enabled, use /dev/urandom for … … 147 148 ); 148 149 } 150 endif; -
branches/4.9/src/wp-includes/random_compat/random_bytes_libsodium.php
r36886 r42344 27 27 */ 28 28 29 if ( ! is_callable( 'random_bytes' ) ): 29 30 /** 30 31 * If the libsodium PHP extension is loaded, we'll use it above any other … … 85 86 ); 86 87 } 88 endif; -
branches/4.9/src/wp-includes/random_compat/random_bytes_libsodium_legacy.php
r36886 r42344 27 27 */ 28 28 29 if ( ! is_callable( 'random_bytes' ) ): 29 30 /** 30 31 * If the libsodium PHP extension is loaded, we'll use it above any other … … 85 86 ); 86 87 } 88 endif; -
branches/4.9/src/wp-includes/random_compat/random_bytes_mcrypt.php
r36886 r42344 28 28 29 29 30 if ( ! is_callable( 'random_bytes' ) ): 30 31 /** 31 32 * Powered by ext/mcrypt (and thankfully NOT libmcrypt) … … 75 76 ); 76 77 } 78 endif; -
branches/4.9/src/wp-includes/random_compat/random_bytes_openssl.php
r36886 r42344 27 27 */ 28 28 29 if ( ! is_callable( 'random_bytes' ) ): 29 30 /** 30 31 * Since openssl_random_pseudo_bytes() uses openssl's … … 82 83 ); 83 84 } 85 endif; -
branches/4.9/src/wp-includes/random_compat/random_int.php
r36886 r42344 27 27 */ 28 28 29 if ( ! is_callable( 'random_int' ) ): 29 30 /** 30 31 * Fetch a random integer between $min and $max inclusive … … 190 191 return (int) $val; 191 192 } 193 endif;
Note: See TracChangeset
for help on using the changeset viewer.