Changeset 51171 for branches/5.7/src/wp-includes/sodium_compat/autoload.php
- Timestamp:
- 06/16/2021 05:28:49 PM (4 years ago)
- Location:
- branches/5.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.7
-
branches/5.7/src/wp-includes/sodium_compat/autoload.php
r49056 r51171 42 42 } 43 43 44 /* Explicitly, always load the Compat class: */ 45 require_once dirname(__FILE__) . '/src/Compat.php'; 46 44 47 if (!class_exists('SodiumException', false)) { 45 48 require_once dirname(__FILE__) . '/src/SodiumException.php'; … … 62 65 assert(class_exists('ParagonIE_Sodium_Compat')); 63 66 } 64 require_once (dirname(__FILE__) . '/lib/php72compat.php'); 67 require_once(dirname(__FILE__) . '/lib/php72compat.php'); 68 } elseif (!function_exists('sodium_crypto_stream_xchacha20_xor')) { 69 // Older versions of {PHP, ext/sodium} will not define these 70 require_once(dirname(__FILE__) . '/lib/php72compat.php'); 65 71 } 72 require_once(dirname(__FILE__) . '/lib/ristretto255.php');
Note: See TracChangeset
for help on using the changeset viewer.