chore: SecureUtils, do not use final for stringVar name
This commit is contained in:
parent
f77213af04
commit
aa1eaf601c
1 changed files with 7 additions and 7 deletions
|
|
@ -156,16 +156,16 @@ QString formatSSLFingerprintColumns(const QByteArray &fingerprint)
|
||||||
return hex;
|
return hex;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString final;
|
QString formatedString;
|
||||||
while (!hex.isEmpty()) {
|
while (!hex.isEmpty()) {
|
||||||
final.append(hex.mid(0, kmaxColumns));
|
formatedString.append(hex.mid(0, kmaxColumns));
|
||||||
hex.remove(0, kmaxColumns);
|
hex.remove(0, kmaxColumns);
|
||||||
if (final.endsWith(':'))
|
if (formatedString.endsWith(':'))
|
||||||
final.removeLast();
|
formatedString.removeLast();
|
||||||
final.append('\n');
|
formatedString.append('\n');
|
||||||
}
|
}
|
||||||
final.removeLast();
|
formatedString.removeLast();
|
||||||
return final;
|
return formatedString;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue