Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/transport/TransportManager.java @ 325:fe127b3c4b88 ganymed
add ecdsa key support everywhere
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 31 Jul 2014 09:34:31 -0700 |
parents | a1a2e33b3565 |
children | 6740870cf268 |
comparison
equal
deleted
inserted
replaced
324:a1a2e33b3565 | 325:fe127b3c4b88 |
---|---|
311 */ | 311 */ |
312 public void forceKeyExchange(CryptoWishList cwl, DHGexParameters dhgex, KeyPair dsa, KeyPair rsa, KeyPair ec) | 312 public void forceKeyExchange(CryptoWishList cwl, DHGexParameters dhgex, KeyPair dsa, KeyPair rsa, KeyPair ec) |
313 throws IOException { | 313 throws IOException { |
314 synchronized (connectionSemaphore) { | 314 synchronized (connectionSemaphore) { |
315 if (connectionClosed) { | 315 if (connectionClosed) { |
316 // Inform the caller that there is no point in triggering a new kex | 316 throw(IOException) new IOException("Sorry, this connection is closed.").initCause(reasonClosedCause); |
317 throw reasonClosedCause; | |
318 } | 317 } |
319 } | 318 } |
320 | 319 |
321 km.initiateKEX(cwl, dhgex, dsa, rsa, ec); | 320 km.initiateKEX(cwl, dhgex, dsa, rsa, ec); |
322 } | 321 } |