- Timestamp:
- 2016-03-29T21:56:42+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/CertificateAmendment.java
r10000 r10076 96 96 byte[] sha = md.digest(certBytes); 97 97 if (!SHA_HASHES[i].equals(Utils.toHexString(sha))) 98 throw new RuntimeException(tr(" certificate hash mismatch"));98 throw new RuntimeException(tr("Error adding certificate {0} - hash mismatch. Expected {1}, was {2}", CERT_AMEND[i], SHA_HASHES[i], Utils.toHexString(sha))); 99 99 100 100 ByteArrayInputStream certIS = new ByteArrayInputStream(certBytes);
Note:
See TracChangeset
for help on using the changeset viewer.