diff options
author | Kenny Root <kenny@the-b.org> | 2013-10-06 10:10:14 -0700 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2013-10-06 10:11:56 -0700 |
commit | c0ef0b33c96b644889cd04dc70080756dbb0122c (patch) | |
tree | 54ba72a57d7e48384c00f71277b0923cd87d9e74 /lib/src/main/java/com/trilead | |
parent | e15169b4d1148941ecddc65ea138242a7edc592b (diff) | |
download | sshlib-c0ef0b33c96b644889cd04dc70080756dbb0122c.tar.gz sshlib-c0ef0b33c96b644889cd04dc70080756dbb0122c.tar.bz2 sshlib-c0ef0b33c96b644889cd04dc70080756dbb0122c.zip |
Fix exception message in ECDSASHA2Verify
Change-Id: Ib69c29588acb60b94cf710244f4c4dc76534412f
Diffstat (limited to 'lib/src/main/java/com/trilead')
-rw-r--r-- | lib/src/main/java/com/trilead/ssh2/signature/ECDSASHA2Verify.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/main/java/com/trilead/ssh2/signature/ECDSASHA2Verify.java b/lib/src/main/java/com/trilead/ssh2/signature/ECDSASHA2Verify.java index 49028e6..f139cdf 100644 --- a/lib/src/main/java/com/trilead/ssh2/signature/ECDSASHA2Verify.java +++ b/lib/src/main/java/com/trilead/ssh2/signature/ECDSASHA2Verify.java @@ -118,11 +118,11 @@ public class ECDSASHA2Verify { KeyFactory kf = KeyFactory.getInstance("EC"); return (ECPublicKey) kf.generatePublic(keySpec); } catch (NoSuchAlgorithmException nsae) { - IOException ioe = new IOException("No RSA KeyFactory available"); + IOException ioe = new IOException("No EC KeyFactory available"); ioe.initCause(nsae); throw ioe; } catch (InvalidKeySpecException ikse) { - IOException ioe = new IOException("No RSA KeyFactory available"); + IOException ioe = new IOException("No EC KeyFactory available"); ioe.initCause(ikse); throw ioe; } |