Make WordPress Core


Ignore:
Timestamp:
03/24/2022 03:18:31 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Update sodium_compat to v1.17.1.

The latest version of sodium_compat includes further improvements for PHP 8.1 compatibility.

Release notes:
https://github.com/paragonie/sodium_compat/releases/tag/v1.17.1

A full list of changes in this update can be found on GitHub:
https://github.com/paragonie/sodium_compat/compare/v1.17.0...v1.17.1

Follow-up to [49741], [51002], [51591].

Props jrf, paragoninitiativeenterprises.
Fixes #55453.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/sodium_compat/src/Core32/Curve25519/Fe.php

    r51591 r52988  
    4949        } else {
    5050            for ($i = 0; $i < $count; ++$i) {
     51                if (!($array[$i] instanceof ParagonIE_Sodium_Core32_Int32)) {
     52                    throw new TypeError('Expected ParagonIE_Sodium_Core32_Int32');
     53                }
    5154                $array[$i]->overflow = 0;
    5255                $obj->offsetSet($i, $array[$i]);
Note: See TracChangeset for help on using the changeset viewer.