diff src/ch/ethz/ssh2/channel/AuthAgentForwardThread.java @ 303:a218d9cd725b ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Tue, 29 Jul 2014 20:24:24 -0700
parents beaccc9df37b
children abad243cb341
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/channel/AuthAgentForwardThread.java	Tue Jul 29 20:23:00 2014 -0700
+++ b/src/ch/ethz/ssh2/channel/AuthAgentForwardThread.java	Tue Jul 29 20:24:24 2014 -0700
@@ -461,7 +461,7 @@
             else if (privKey instanceof DSAPrivateKey) {
                 byte[] signature = DSASHA1Verify.generateSignature(challenge,
                                    (DSAPrivateKey) privKey, new SecureRandom());
-                response = DSASHA1Verify.encodeSSHDSASignature(signature, );
+                response = DSASHA1Verify.encodeSSHDSASignature(signature);
             }
             else if (privKey instanceof ECPrivateKey) {
                 ECPrivateKey pk = (ECPrivateKey) privKey;