diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-07-01 16:15:42 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-07-01 16:15:42 +0700 |
commit | 70b47a3c76303a3af17c9ed635f7f1fa8a78ad18 (patch) | |
tree | a447b19f4ca05e728ea48bc24d5b369f01ab75ca /crypto/test/src | |
parent | Refactoring in Asn1.Nist (diff) | |
download | BouncyCastle.NET-ed25519-70b47a3c76303a3af17c9ed635f7f1fa8a78ad18.tar.xz |
Refactoring in Asn1.Oiw
Diffstat (limited to 'crypto/test/src')
-rw-r--r-- | crypto/test/src/test/ElGamalTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/test/ElGamalTest.cs b/crypto/test/src/test/ElGamalTest.cs index 293c0c37e..54e26a192 100644 --- a/crypto/test/src/test/ElGamalTest.cs +++ b/crypto/test/src/test/ElGamalTest.cs @@ -300,7 +300,7 @@ namespace Org.BouncyCastle.Tests // AlgorithmParameters a2 = AlgorithmParameters.getInstance("ElGamal"); // a2.init(encodeParams); - ElGamalParameter elP = new ElGamalParameter((Asn1Sequence) Asn1Object.FromByteArray(encodeParams)); + ElGamalParameter elP = ElGamalParameter.GetInstance(encodeParams); ElGamalParameters p2 = new ElGamalParameters(elP.P, elP.G); // a and a2 should be equivalent! |