Make WordPress Core


Ignore:
Timestamp:
09/27/2020 04:44:01 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Update sodium_compat to v1.13.0.

This includes a few autoloader fixes and improvements.

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

See #51399.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/sodium_compat/src/File.php

    r46858 r49056  
    142142            ParagonIE_Sodium_Compat::memzero($ephKeypair);
    143143        } catch (SodiumException $ex) {
    144             unset($ephKeypair);
     144            if (isset($ephKeypair)) {
     145                unset($ephKeypair);
     146            }
    145147        }
    146148        return $res;
     
    329331            ParagonIE_Sodium_Compat::memzero($ephKeypair);
    330332        } catch (SodiumException $ex) {
    331             unset($ephKeypair);
     333            if (isset($ephKeypair)) {
     334                unset($ephKeypair);
     335            }
    332336        }
    333337        return $res;
Note: See TracChangeset for help on using the changeset viewer.