WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/09/2019 04:44:58 PM (15 months 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/Ed25519.php

    r44953 r46859  
    279279            throw new SodiumException('Signature is too short');
    280280        }
    281         if (self::check_S_lt_L(self::substr($sig, 32, 32))) {
     281        if ((self::chrToInt($sig[63]) & 240) && self::check_S_lt_L(self::substr($sig, 32, 32))) {
    282282            throw new SodiumException('S < L - Invalid signature');
    283283        }
Note: See TracChangeset for help on using the changeset viewer.