diff src/ch/ethz/ssh2/crypto/dh/GenericDhExchange.java @ 310:9e42082d1f93 ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 14:42:55 -0700
parents cb179051f0f2
children fde9d6568bea
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/crypto/dh/GenericDhExchange.java	Wed Jul 30 14:29:39 2014 -0700
+++ b/src/ch/ethz/ssh2/crypto/dh/GenericDhExchange.java	Wed Jul 30 14:42:55 2014 -0700
@@ -68,10 +68,8 @@
                              byte[] serverKexPayload, byte[] hostKey) throws UnsupportedEncodingException {
         HashForSSH2Types hash = new HashForSSH2Types(getHashAlgo());
 
-        if (log.isEnabled()) {
-            log.log(90, "Client: '" + new String(clientversion, "ISO-8859-1") + "'");
-            log.log(90, "Server: '" + new String(serverversion, "ISO-8859-1") + "'");
-        }
+        log.debug("Client: '" + new String(clientversion, "ISO-8859-1") + "'");
+        log.debug("Server: '" + new String(serverversion, "ISO-8859-1") + "'");
 
         hash.updateByteString(clientversion);
         hash.updateByteString(serverversion);