This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch camel-2.25.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.25.x by this push: new 7c56358 Fixing build on 2.25.x following BouncyCastle 1.65 upgrade 7c56358 is described below commit 7c56358c552757b37e3b3dfddc7b95c0210a7d49 Author: Colm O hEigeartaigh <cohei...@apache.org> AuthorDate: Tue Apr 7 13:00:26 2020 +0100 Fixing build on 2.25.x following BouncyCastle 1.65 upgrade --- .../org/apache/camel/component/ssh/ResourceHelperKeyPairProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/ResourceHelperKeyPairProvider.java b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/ResourceHelperKeyPairProvider.java index 4499d28..510ddeb 100644 --- a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/ResourceHelperKeyPairProvider.java +++ b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/ResourceHelperKeyPairProvider.java @@ -177,7 +177,7 @@ public class ResourceHelperKeyPairProvider extends AbstractKeyPairProvider { ECPrivateKey ecPrivateKey = (ECPrivateKey)privateKey; // Derive the public point by multiplying the generator by the private value - ECParameterSpec paramSpec = EC5Util.convertSpec(ecPrivateKey.getParams(), false); + ECParameterSpec paramSpec = EC5Util.convertSpec(ecPrivateKey.getParams()); ECPoint q = paramSpec.getG().multiply(ecPrivateKey.getS()); KeySpec keySpec = new ECPublicKeySpec(q, paramSpec);