WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/08/2016 05:14:52 PM (6 years ago)
Author:
ocean90
Message:

Update Random_Compat from 1.1.6 to 1.2.1.

Changes: https://github.com/paragonie/random_compat/compare/1.1.6...v1.2.1

See #35665.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/random_compat/random_bytes_com_dotnet.php

    r35600 r36886  
    4747        );
    4848    }
     49
    4950    if ($bytes < 1) {
    5051        throw new Error(
     
    5253        );
    5354    }
     55
    5456    $buf = '';
    5557    $util = new COM('CAPICOM.Utilities.1');
    5658    $execCount = 0;
     59
    5760    /**
    5861     * Let's not let it loop forever. If we run N times and fail to
     
    6972        ++$execCount;
    7073    } while ($execCount < $bytes);
     74
    7175    /**
    7276     * If we reach here, PHP has failed us.
Note: See TracChangeset for help on using the changeset viewer.