Skip to content

Commit

Permalink
test: Fix signing algorithm comparison
Browse files Browse the repository at this point in the history
Fix bad merge of box-project#1100 which should have been adapted after box-project#1106.
  • Loading branch information
theofidry committed Oct 22, 2023
1 parent a0f241f commit 958ef0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,7 @@ private static function retrieveSigningAlgorithm(stdClass $raw, ConfigurationLog
self::addRecommendationForDefaultValue($logger, self::ALGORITHM_KEY);
}

if (Phar::OPENSSL === $algorithm) {
if (SigningAlgorithm::OPENSSL === $algorithm) {
$logger->addWarning(
'Using an OpenSSL signature is deprecated and will be removed in 5.0.0. Please check '
.'https://github.com/box-project/box/blob/main/doc/phar-signing.md for alternatives.',
Expand Down

0 comments on commit 958ef0f

Please sign in to comment.