diff src/ch/ethz/ssh2/auth/AuthenticationManager.java @ 323:90537ba71897 ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 09:26:19 -0700
parents 5afb8c1a54b9
children a1a2e33b3565
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/auth/AuthenticationManager.java	Thu Jul 31 09:03:50 2014 -0700
+++ b/src/ch/ethz/ssh2/auth/AuthenticationManager.java	Thu Jul 31 09:26:19 2014 -0700
@@ -69,7 +69,7 @@
 
     private byte[] deQueue() throws IOException {
         if (connectionClosed) {
-            throw tm.getReasonClosedCause();
+            throw new IOException("The connection is closed.").initCause(tm.getReasonClosedCause());
         }
 
         // Wait for packet