# HG changeset patch # User Carl Byington # Date 1406763553 25200 # Node ID 6b424bb783a29cd5af8f4dc53c15adf628b3a8d5 # Parent eeb7ae13833b4eb74357b3e08a80fdf35529f833 add ecdsa key support everywhere diff -r eeb7ae13833b -r 6b424bb783a2 src/ch/ethz/ssh2/crypto/dh/GenericDhExchange.java --- 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(); } /** diff -r eeb7ae13833b -r 6b424bb783a2 src/ch/ethz/ssh2/transport/ServerKexManager.java --- 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;