Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 675d463

Browse filesBrowse files
committed
bug #32170 [Security/Core] Don't use ParagonIE_Sodium_Compat (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [Security/Core] Don't use ParagonIE_Sodium_Compat | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - This is dead code: https://github.com/paragonie/sodium_compat#features-excluded-from-this-polyfill Commits ------- 61ea53d [Security/Core] Don't use ParagonIE_Sodium_Compat
2 parents 57d73fc + 61ea53d commit 675d463
Copy full SHA for 675d463

File tree

Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed

‎src/Symfony/Component/Security/Core/Encoder/Argon2iPasswordEncoder.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/Encoder/Argon2iPasswordEncoder.php
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ public static function isSupported()
2626
return true;
2727
}
2828

29-
if (class_exists('ParagonIE_Sodium_Compat') && method_exists('ParagonIE_Sodium_Compat', 'crypto_pwhash_is_available')) {
30-
return \ParagonIE_Sodium_Compat::crypto_pwhash_is_available();
31-
}
32-
3329
return \function_exists('sodium_crypto_pwhash_str') || \extension_loaded('libsodium');
3430
}
3531

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.