lgoldstein commented on a change in pull request #119: Add support for openssh 
host key certificates
URL: https://github.com/apache/mina-sshd/pull/119#discussion_r408350307
 
 

 ##########
 File path: sshd-core/src/main/java/org/apache/sshd/client/kex/DHGClient.java
 ##########
 @@ -124,10 +129,67 @@ public boolean next(int cmd, Buffer buffer) throws 
Exception {
 
         buffer = new ByteArrayBuffer(k_s);
         serverKey = buffer.getRawPublicKey();
-        String keyAlg = KeyUtils.getKeyType(serverKey);
+        PublicKey serverPublicHostKey = serverKey;
+
+        OpenSshCertificate openSshKey = null;
 
 Review comment:
   Why is it defined outside the `if` block ? I don't see it being used outside 
it...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to