Mercurial > 510Connectbot
diff src/ch/ethz/ssh2/transport/TransportManager.java @ 301:ca5dd224a87b ganymed
add ecdsa key support everywhere
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 29 Jul 2014 18:50:35 -0700 |
parents | 4ec87de11e71 |
children | d2b303406d63 |
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/transport/TransportManager.java Tue Jul 29 18:36:57 2014 -0700 +++ b/src/ch/ethz/ssh2/transport/TransportManager.java Tue Jul 29 18:50:35 2014 -0700 @@ -296,7 +296,7 @@ * @param rsa may be null if this is a client connection * @throws IOException */ - public void forceKeyExchange(CryptoWishList cwl, DHGexParameters dhgex, KeyPair dsa, KeyPair rsa) + public void forceKeyExchange(CryptoWishList cwl, DHGexParameters dhgex, KeyPair dsa, KeyPair rsa, KeyPair ec) throws IOException { synchronized(connectionSemaphore) { if(connectionClosed) { @@ -304,7 +304,7 @@ throw reasonClosedCause; } } - km.initiateKEX(cwl, dhgex, dsa, rsa); + km.initiateKEX(cwl, dhgex, dsa, rsa, ec); } public void changeRecvCipher(BlockCipher bc, MAC mac) {