diff src/ch/ethz/ssh2/transport/ClientKexManager.java @ 298:ab3a99f11a36 ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Tue, 29 Jul 2014 18:01:08 -0700
parents db9b028016de
children d2b303406d63
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/transport/ClientKexManager.java	Tue Jul 29 16:43:12 2014 -0700
+++ b/src/ch/ethz/ssh2/transport/ClientKexManager.java	Tue Jul 29 18:01:08 2014 -0700
@@ -61,6 +61,7 @@
             log.debug("Verifying ecdsa signature");
             return ECDSASHA2Verify.verifySignature(kxs.H, rs, epk);
         }
+
         if (kxs.np.server_host_key_algo.equals("ssh-rsa")) {
             byte[] rs = RSASHA1Verify.decodeSSHRSASignature(sig);
             RSAPublicKey rpk = RSASHA1Verify.decodeSSHRSAPublicKey(hostkey);