Clean up CSPRNG support for PHP7
authorMax Semenik <maxsem.wiki@gmail.com>
Fri, 19 Jan 2018 22:42:56 +0000 (14:42 -0800)
committerKrinkle <krinklemail@gmail.com>
Sun, 10 Jun 2018 00:52:04 +0000 (00:52 +0000)
commit9bab7de5f8a249239de1466ec9c1d7a5d404ba00
tree976bbc9fff9ae9949d95999151462564f1fe6c0a
parentbfb35823d9562ff46aaeb0fa0f04a8fe8ea8b68e
Clean up CSPRNG support for PHP7

Replace it all with random_bytes(), leave
only MWCryptRand::generateHex() as a convenience helper.

Change-Id: Ic30376a90e66d8f00dab86e7e6466fb3a750b87d
15 files changed:
RELEASE-NOTES-1.32
includes/MediaWikiServices.php
includes/OutputPage.php
includes/ServiceWiring.php
includes/installer/Installer.php
includes/installer/i18n/en.json
includes/installer/i18n/qqq.json
includes/libs/CryptHKDF.php
includes/libs/CryptRand.php
includes/password/BcryptPassword.php
includes/password/EncryptedPassword.php
includes/password/Pbkdf2Password.php
includes/session/Session.php
includes/utils/MWCryptRand.php
tests/phpunit/includes/session/SessionTest.php