Skip to content

Commit

Permalink
Address comments 2
Browse files Browse the repository at this point in the history
  • Loading branch information
KostasTsiounis committed Nov 1, 2024
1 parent 899c1d8 commit cd4ac19
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,13 @@ public static final boolean isAlgorithmAvailable(String algorithm) {
if (disallowedAlgosFIPS.contains(algorithm)) {
isAlgorithmAvailable = false;
}
}
switch (algorithm) {
case "MD5":
isAlgorithmAvailable = isMD5Available();
default:
isAlgorithmAvailable = true;
} else {
switch (algorithm) {
case "MD5":
isAlgorithmAvailable = isMD5Available();
default:
isAlgorithmAvailable = true;
}
}
}

Expand Down

0 comments on commit cd4ac19

Please sign in to comment.