changeset 297:c1f929cb3dd0 ganymed

start conversion from trilead to ganymed
author Carl Byington <carl@five-ten-sg.com>
date Tue, 29 Jul 2014 16:43:12 -0700
parents 8c55d7714d03
children ab3a99f11a36
files src/com/five_ten_sg/connectbot/service/AuthAgentService.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/AuthAgentService.java	Tue Jul 29 16:35:48 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/AuthAgentService.java	Tue Jul 29 16:43:12 2014 -0700
@@ -171,7 +171,7 @@
         private byte[] sshEncodedSignatureFor(byte[] data, ECPrivateKey privKey) {
             try {
                 byte[] signature = ECDSASHA2Verify.generateSignature(data, privKey);
-                return ECDSASHA2Verify.encodeSSHECDSASignature(signature);
+                return ECDSASHA2Verify.encodeSSHECDSASignature(signature, privKey.getParams());
             }
             catch (IOException e) {
                 throw new RuntimeException(e);