Skip to content

Commit

Permalink
fix: suppresswarnings has been added;
Browse files Browse the repository at this point in the history
  • Loading branch information
smansoft committed Oct 18, 2022
1 parent c9f790a commit 6a386dd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public class FingerprintHelper {
/*
* Return SSH RSA public key fingerprint
*/
@SuppressWarnings("java:S4790")
public static String getPublicKeySshFingerprint(PublicKey publicKey) throws NoSuchAlgorithmException, IOException {
if (publicKey instanceof RSAPublicKey || publicKey instanceof ECPublicKey) {
MessageDigest digest = MessageDigest.getInstance("MD5");
Expand Down

0 comments on commit 6a386dd

Please sign in to comment.