Make WordPress Core


Ignore:
Timestamp:
01/08/2016 03:27:58 AM (9 years ago)
Author:
dd32
Message:

Update to Random_Compat 1.1.5 to fix an issue with older libSodium modules.

Props sarciszewski.
Fixes #35327 for trunk.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/random_compat/random_bytes_libsodium_legacy.php

    r36182 r36220  
    6464                ? 1073741824
    6565                : $bytes - $i;
    66             $buf .= \Sodium\randombytes_buf($n);
     66            $buf .= Sodium::randombytes_buf($n);
    6767        }
    6868    } else {
    69         $buf = \Sodium\randombytes_buf($bytes);
     69        $buf = Sodium::randombytes_buf($bytes);
    7070    }
    7171
Note: See TracChangeset for help on using the changeset viewer.