diff src/ch/ethz/ssh2/crypto/dh/GenericDhExchange.java @ 311:fde9d6568bea ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 15:02:30 -0700
parents 9e42082d1f93
children 1d400fd78e4a
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/crypto/dh/GenericDhExchange.java	Wed Jul 30 14:42:55 2014 -0700
+++ b/src/ch/ethz/ssh2/crypto/dh/GenericDhExchange.java	Wed Jul 30 15:02:30 2014 -0700
@@ -65,7 +65,7 @@
     public abstract void setF(byte[] f) throws IOException;
 
     public byte[] calculateH(byte[] clientversion, byte[] serverversion, byte[] clientKexPayload,
-                             byte[] serverKexPayload, byte[] hostKey) throws UnsupportedEncodingException {
+                             byte[] serverKexPayload, byte[] hostKey) throws UnsupportedEncodingException, IOException {
         HashForSSH2Types hash = new HashForSSH2Types(getHashAlgo());
 
         log.debug("Client: '" + new String(clientversion, "ISO-8859-1") + "'");