- Timestamp:
- 03/08/2016 05:14:52 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/random_compat/random_bytes_com_dotnet.php
r35600 r36886 47 47 ); 48 48 } 49 49 50 if ($bytes < 1) { 50 51 throw new Error( … … 52 53 ); 53 54 } 55 54 56 $buf = ''; 55 57 $util = new COM('CAPICOM.Utilities.1'); 56 58 $execCount = 0; 59 57 60 /** 58 61 * Let's not let it loop forever. If we run N times and fail to … … 69 72 ++$execCount; 70 73 } while ($execCount < $bytes); 74 71 75 /** 72 76 * If we reach here, PHP has failed us.
Note: See TracChangeset
for help on using the changeset viewer.