fixed #1039
This commit is contained in:
parent
77caf73103
commit
82daf849aa
|
@ -91,6 +91,9 @@ public final class CryptoHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String prettifyFingerprint(String fingerprint) {
|
public static String prettifyFingerprint(String fingerprint) {
|
||||||
|
if (fingerprint.length() < 40) {
|
||||||
|
return fingerprint;
|
||||||
|
}
|
||||||
StringBuilder builder = new StringBuilder(fingerprint);
|
StringBuilder builder = new StringBuilder(fingerprint);
|
||||||
builder.insert(8, " ");
|
builder.insert(8, " ");
|
||||||
builder.insert(17, " ");
|
builder.insert(17, " ");
|
||||||
|
|
Loading…
Reference in a new issue