Skip to content

Commit

Permalink
Check MD5 too
Browse files Browse the repository at this point in the history
  • Loading branch information
KostasTsiounis committed Oct 15, 2024
1 parent d0f338d commit cebba55
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,7 @@ public final class SunEntries {
*/
/* Don't use native MD5 on AIX due to an observed performance regression. */
if (useNativeDigest
&& NativeCrypto.isAllowedAndLoaded()
&& NativeCrypto.isMD5Available()
&& NativeCrypto.isAlgorithmAvailable("MD5")
&& !OperatingSystem.isAix()
) {
providerMD5 = "sun.security.provider.NativeMD5";
Expand Down

0 comments on commit cebba55

Please sign in to comment.