diff src/ch/ethz/ssh2/auth/AuthenticationManager.java @ 284:4ec87de11e71 ganymed

start conversion from trilead to ganymed
author Carl Byington <carl@five-ten-sg.com>
date Fri, 18 Jul 2014 18:08:56 -0700
parents 3855f58ffd2b
children d2b303406d63
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/auth/AuthenticationManager.java	Fri Jul 18 17:32:11 2014 -0700
+++ b/src/ch/ethz/ssh2/auth/AuthenticationManager.java	Fri Jul 18 18:08:56 2014 -0700
@@ -236,7 +236,7 @@
 
                 byte[] msg = tw.getBytes();
 
-                DSASignature ds = DSASHA1Verify.generateSignature(msg, pk, rnd);
+                byte[] ds = DSASHA1Verify.generateSignature(msg, pk, rnd);
 
                 byte[] ds_enc = DSASHA1Verify.encodeSSHDSASignature(ds);
 
@@ -265,7 +265,7 @@
 
                 byte[] msg = tw.getBytes();
 
-                RSASignature ds = RSASHA1Verify.generateSignature(msg, pk);
+                byte[] ds = RSASHA1Verify.generateSignature(msg, pk);
 
                 byte[] rsa_sig_enc = RSASHA1Verify.encodeSSHRSASignature(ds);