Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-07-23 13:26:48 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-07-23 13:26:48 +0400
commitf49a49786fb569b2b0e08904e23c50792be4f478 (patch)
tree5c128b71a802ea223f0a7236787e48ad3f337615
parent99dd396dcc9dca8440ac1ae30510a209de36a7e2 (diff)
Remove unnecessary static references
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java
index a045fdbb..e9f96f06 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java
@@ -460,7 +460,7 @@ public class TlsECCUtils
public static ECPrivateKeyParameters generateEphemeralClientKeyExchange(SecureRandom random, short[] ecPointFormats,
ECDomainParameters ecParams, OutputStream output) throws IOException
{
- AsymmetricCipherKeyPair kp = TlsECCUtils.generateECKeyPair(random, ecParams);
+ AsymmetricCipherKeyPair kp = generateECKeyPair(random, ecParams);
ECPublicKeyParameters ecPublicKey = (ECPublicKeyParameters) kp.getPublic();
writeECPoint(ecPointFormats, ecPublicKey.getQ(), output);
@@ -569,7 +569,7 @@ public class TlsECCUtils
checkNamedCurve(namedCurves, namedCurve);
- return TlsECCUtils.getParametersForNamedCurve(namedCurve);
+ return getParametersForNamedCurve(namedCurve);
}
default:
throw new TlsFatalAlert(AlertDescription.illegal_parameter);
@@ -668,7 +668,7 @@ public class TlsECCUtils
public static void writeECPoint(short[] ecPointFormats, ECPoint point, OutputStream output) throws IOException
{
- TlsUtils.writeOpaque8(TlsECCUtils.serializeECPoint(ecPointFormats, point), output);
+ TlsUtils.writeOpaque8(serializeECPoint(ecPointFormats, point), output);
}
public static void writeNamedECParameters(int namedCurve, OutputStream output) throws IOException