Skip to content

Commit

Permalink
For consistency, don't autoload in check
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Sep 13, 2022
1 parent 7a23202 commit 716deda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Ed25519.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if (class_exists('ParagonIE_Sodium_Core_Ed25519', false)) {
return;
}
if (!class_exists('ParagonIE_Sodium_Core_Curve25519')) {
if (!class_exists('ParagonIE_Sodium_Core_Curve25519', false)) {
require_once dirname(__FILE__) . '/Curve25519.php';
}

Expand Down

0 comments on commit 716deda

Please sign in to comment.