You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2017/03/29 08:13:11 UTC

mina-sshd git commit: [SSHD-732] Fix AuthenticationTest

Repository: mina-sshd
Updated Branches:
  refs/heads/master a1cb02b41 -> 3b3d1159f


[SSHD-732] Fix AuthenticationTest 

Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/3b3d1159
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/3b3d1159
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/3b3d1159

Branch: refs/heads/master
Commit: 3b3d1159fb4d38d9a50d2e7b73e756c379e2dad2
Parents: a1cb02b
Author: Guillaume Nodet <gn...@apache.org>
Authored: Wed Mar 29 10:08:31 2017 +0200
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Wed Mar 29 10:08:31 2017 +0200

----------------------------------------------------------------------
 .../apache/sshd/client/auth/pubkey/UserAuthPublicKeyIterator.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/3b3d1159/sshd-core/src/main/java/org/apache/sshd/client/auth/pubkey/UserAuthPublicKeyIterator.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/client/auth/pubkey/UserAuthPublicKeyIterator.java b/sshd-core/src/main/java/org/apache/sshd/client/auth/pubkey/UserAuthPublicKeyIterator.java
index e1c7c86..1d36cce 100644
--- a/sshd-core/src/main/java/org/apache/sshd/client/auth/pubkey/UserAuthPublicKeyIterator.java
+++ b/sshd-core/src/main/java/org/apache/sshd/client/auth/pubkey/UserAuthPublicKeyIterator.java
@@ -72,7 +72,7 @@ public class UserAuthPublicKeyIterator extends AbstractKeyPairIterator<PublicKey
         identities.add(Stream.of(KeyIdentityProvider.providerOf(session))
                 .map(KeyIdentityProvider::loadKeys)
                 .flatMap(GenericUtils::stream)
-                .map(kp -> new KeyPairIdentity(session, signatureFactories, kp)));
+                .map(kp -> new KeyPairIdentity(signatureFactories, session, kp)));
 
         current = identities.stream().flatMap(r -> r).iterator();
     }