Mercurial > 510Connectbot
diff src/ch/ethz/ssh2/ServerConnection.java @ 302:beaccc9df37b ganymed
add ecdsa key support everywhere
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 29 Jul 2014 20:23:00 -0700 |
parents | ca5dd224a87b |
children | 071eccdff8ea |
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/ServerConnection.java Tue Jul 29 18:50:35 2014 -0700 +++ b/src/ch/ethz/ssh2/ServerConnection.java Tue Jul 29 20:23:00 2014 -0700 @@ -322,7 +322,7 @@ private void fixCryptoWishList(CryptoWishList next_cryptoWishList, KeyPair next_dsa_key, KeyPair next_rsa_key, KeyPair next_ec_key) { - List<String> algos = new ArrayList<string>(); + List<String> algos = new ArrayList<String>(); if (next_ec_key != null) algos.add("ecdsa-sha2-nistp521"); if (next_ec_key != null) algos.add("ecdsa-sha2-nistp384"); if (next_ec_key != null) algos.add("ecdsa-sha2-nistp256");