Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/transport/KexManager.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 | 071eccdff8ea |
children | a1a2e33b3565 |
comparison
equal
deleted
inserted
replaced
322:a713e91c59c8 | 323:90537ba71897 |
---|---|
96 if ((lastConnInfo != null) && (lastConnInfo.keyExchangeCounter >= minKexCount)) { | 96 if ((lastConnInfo != null) && (lastConnInfo.keyExchangeCounter >= minKexCount)) { |
97 return lastConnInfo; | 97 return lastConnInfo; |
98 } | 98 } |
99 | 99 |
100 if (connectionClosed) { | 100 if (connectionClosed) { |
101 throw tm.getReasonClosedCause(); | 101 throw new IOException("Key exchange was not finished, connection is closed.").initCause(tm.getReasonClosedCause()); |
102 } | 102 } |
103 | 103 |
104 try { | 104 try { |
105 accessLock.wait(); | 105 accessLock.wait(); |
106 } | 106 } |