Skip to content

Commit

Permalink
ECS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky authored Feb 13, 2024
1 parent 613e08e commit 82dc65f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Library/Signature/Algorithm/EdDSA.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use InvalidArgumentException;
use Jose\Component\Core\JWK;
use ParagonIE\ConstantTime\Base64UrlSafe;
use ParagonIE\Sodium\Core\Ed25519;
use RuntimeException;
use function extension_loaded;
use function in_array;
Expand Down Expand Up @@ -40,7 +41,7 @@ public function sign(JWK $key, string $input): string
throw new InvalidArgumentException('Invalid "d" parameter.');
}
if (! $key->has('x')) {
$x = $this->getPublicKey($key);
$x = self::getPublicKey($key);
} else {
$x = $key->get('x');
}
Expand Down

0 comments on commit 82dc65f

Please sign in to comment.