Skip to content
Snippets Groups Projects
Commit 835bf788 authored by Lucas Hedding's avatar Lucas Hedding
Browse files

Issue #3088922 by heddn: Check for updates to polyfills mid December 2019

parent 07dd9066
No related branches found
No related tags found
No related merge requests found
......@@ -107,16 +107,16 @@
},
{
"name": "paragonie/sodium_compat",
"version": "v1.12.0",
"version": "v1.12.1",
"source": {
"type": "git",
"url": "https://github.com/paragonie/sodium_compat.git",
"reference": "8228b286d6b8fe24825f42ce02403f72656ac826"
"reference": "063cae9b3a7323579063e7037720f5b52b56c178"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/8228b286d6b8fe24825f42ce02403f72656ac826",
"reference": "8228b286d6b8fe24825f42ce02403f72656ac826",
"url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/063cae9b3a7323579063e7037720f5b52b56c178",
"reference": "063cae9b3a7323579063e7037720f5b52b56c178",
"shasum": ""
},
"require": {
......@@ -185,7 +185,7 @@
"secret-key cryptography",
"side-channel resistant"
],
"time": "2019-10-19T15:30:42+00:00"
"time": "2019-11-07T17:07:24+00:00"
}
],
"packages-dev": [],
......
......@@ -104,17 +104,17 @@
},
{
"name": "paragonie/sodium_compat",
"version": "v1.12.0",
"version_normalized": "1.12.0.0",
"version": "v1.12.1",
"version_normalized": "1.12.1.0",
"source": {
"type": "git",
"url": "https://github.com/paragonie/sodium_compat.git",
"reference": "8228b286d6b8fe24825f42ce02403f72656ac826"
"reference": "063cae9b3a7323579063e7037720f5b52b56c178"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/8228b286d6b8fe24825f42ce02403f72656ac826",
"reference": "8228b286d6b8fe24825f42ce02403f72656ac826",
"url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/063cae9b3a7323579063e7037720f5b52b56c178",
"reference": "063cae9b3a7323579063e7037720f5b52b56c178",
"shasum": ""
},
"require": {
......@@ -128,7 +128,7 @@
"ext-libsodium": "PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.",
"ext-sodium": "PHP >= 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security."
},
"time": "2019-10-19T15:30:42+00:00",
"time": "2019-11-07T17:07:24+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
......
......@@ -47,7 +47,7 @@ if (PHP_VERSION_ID >= 50300) {
require_once dirname(__FILE__) . '/src/PHP52/SplFixedArray.php';
}
if (PHP_VERSION_ID < 70200 || !extension_loaded('sodium')) {
if (PHP_VERSION_ID >= 50300 && !defined('SODIUM_LIBRARY_MAJOR_VERSION')) {
if (PHP_VERSION_ID >= 50300 && !defined('SODIUM_CRYPTO_SCALARMULT_BYTES')) {
require_once dirname(__FILE__) . '/lib/php72compat_const.php';
}
if (PHP_VERSION_ID >= 70000) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment