Changeset 58752 for trunk/src/wp-includes/sodium_compat/autoload.php
- Timestamp:
- 07/18/2024 12:58:40 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sodium_compat/autoload.php
r54150 r58752 55 55 require_once dirname(__FILE__) . '/lib/namespaced.php'; 56 56 require_once dirname(__FILE__) . '/lib/sodium_compat.php'; 57 if (!defined('SODIUM_CRYPTO_AEAD_AEGIS128L_KEYBYTES')) { 58 require_once dirname(__FILE__) . '/lib/php84compat_const.php'; 59 } 57 60 } else { 58 61 require_once dirname(__FILE__) . '/src/PHP52/SplFixedArray.php'; … … 72 75 require_once(dirname(__FILE__) . '/lib/php72compat.php'); 73 76 } 77 if (PHP_VERSION_ID < 80400 || !extension_loaded('sodium')) { 78 require_once dirname(__FILE__) . '/lib/php84compat.php'; 79 } 74 80 require_once(dirname(__FILE__) . '/lib/stream-xchacha20.php'); 75 81 require_once(dirname(__FILE__) . '/lib/ristretto255.php');
Note: See TracChangeset
for help on using the changeset viewer.