# HG changeset patch # User Carl Byington # Date 1406824471 25200 # Node ID fe127b3c4b889736b929d656f9aad10dec50eee5 # Parent a1a2e33b3565e04ba869a1b79799877fddf8f298 add ecdsa key support everywhere diff -r a1a2e33b3565 -r fe127b3c4b88 src/ch/ethz/ssh2/transport/TransportManager.java --- a/src/ch/ethz/ssh2/transport/TransportManager.java Thu Jul 31 09:31:42 2014 -0700 +++ b/src/ch/ethz/ssh2/transport/TransportManager.java Thu Jul 31 09:34:31 2014 -0700 @@ -313,8 +313,7 @@ throws IOException { synchronized (connectionSemaphore) { if (connectionClosed) { - // Inform the caller that there is no point in triggering a new kex - throw reasonClosedCause; + throw(IOException) new IOException("Sorry, this connection is closed.").initCause(reasonClosedCause); } }