Skip to content

Commit 313edb2

Browse files
committed
better exception message
1 parent dd25137 commit 313edb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/de/ntcomputer/crypto/eddsa/Ed25519PublicKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private boolean verifyLow(byte[] data, String signature) throws SignatureExcepti
6060
try {
6161
signatureBytes = Utils.hexToBytes(signature);
6262
} catch(Exception e) {
63-
throw new SignatureException("the supplied signature is not a valid signature", e);
63+
throw new SignatureException("the supplied signature has an invalid format", e);
6464
}
6565
EdDSAEngine engine = new EdDSAEngine();
6666
try {

0 commit comments

Comments
 (0)