comparison src/ch/ethz/ssh2/transport/KexManager.java @ 324:a1a2e33b3565 ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 09:31:42 -0700
parents 90537ba71897
children 37f4a3b506d9
comparison
equal deleted inserted replaced
323:90537ba71897 324:a1a2e33b3565
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 new IOException("Key exchange was not finished, connection is closed.").initCause(tm.getReasonClosedCause()); 101 throw(IOException) 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 }