Make WordPress Core


Ignore:
Timestamp:
12/09/2019 04:44:58 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Update sodium_compat to v1.12.1.

This includes a speedup for signature verification on most platforms and bugfixes for 32-bit platforms.

Props paragoninitiativeenterprises, lukaswaudentio.
Merges [46858] to the 5.3 branch.
Fixes #48371.

Location:
branches/5.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

  • branches/5.3/src/wp-includes/sodium_compat/src/Core32/X25519.php

    r45344 r46859  
    152152            $h[$i] = $h[$i]->toInt32();
    153153        }
    154         /** @var array<int, ParagonIE_Sodium_Core32_Int32> $h */
    155         return ParagonIE_Sodium_Core32_Curve25519_Fe::fromArray($h);
     154        /** @var array<int, ParagonIE_Sodium_Core32_Int32> $h2 */
     155        $h2 = $h;
     156        return ParagonIE_Sodium_Core32_Curve25519_Fe::fromArray($h2);
    156157    }
    157158
Note: See TracChangeset for help on using the changeset viewer.