changeset 316:6b424bb783a2 ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 16:39:13 -0700
parents eeb7ae13833b
children cdb3c9215a9b
files src/ch/ethz/ssh2/crypto/dh/GenericDhExchange.java src/ch/ethz/ssh2/transport/ServerKexManager.java
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/crypto/dh/GenericDhExchange.java	Wed Jul 30 16:36:13 2014 -0700
+++ b/src/ch/ethz/ssh2/crypto/dh/GenericDhExchange.java	Wed Jul 30 16:39:13 2014 -0700
@@ -43,7 +43,7 @@
     public abstract byte[] getE();
 
     public void setE(BigInteger e)  throws IOException {
-        throw IOException;
+        throw new IOException();
     }
 
     /**
--- a/src/ch/ethz/ssh2/transport/ServerKexManager.java	Wed Jul 30 16:36:13 2014 -0700
+++ b/src/ch/ethz/ssh2/transport/ServerKexManager.java	Wed Jul 30 16:39:13 2014 -0700
@@ -12,6 +12,7 @@
 import java.security.interfaces.ECPublicKey;
 import java.security.interfaces.RSAPrivateKey;
 import java.security.interfaces.RSAPublicKey;
+import java.math.BigInteger;
 
 import ch.ethz.ssh2.ConnectionInfo;
 import ch.ethz.ssh2.PacketTypeException;