Fixed Amazon fingerprint

This commit is contained in:
M66B
2021-07-17 14:09:45 +02:00
parent 8f4bfa9cf4
commit de96dd66a2
2 changed files with 2 additions and 2 deletions

View File

@@ -1579,7 +1579,7 @@ public class Helper {
byte[] bytes = digest.digest(cert);
StringBuilder sb = new StringBuilder();
for (byte b : bytes)
sb.append(Integer.toString(b & 0xff, 16).toUpperCase(Locale.ROOT));
sb.append(String.format("%02X", b));
return sb.toString();
} catch (Throwable ex) {
Log.e(ex);