summary refs log tree commit diff
path: root/crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs')
-rw-r--r--crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs b/crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs

index 38cde3b01..406325951 100644 --- a/crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs +++ b/crypto/test/src/math/ec/rfc8032/test/Ed448Test.cs
@@ -35,7 +35,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032.Tests for (int i = 0; i < 10; ++i) { Random.NextBytes(sk); - Ed448.GeneratePublicKey(sk, 0, out var publicPoint); + var publicPoint = Ed448.GeneratePublicKey(sk, 0); Ed448.EncodePublicPoint(publicPoint, pk, 0); { @@ -95,7 +95,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032.Tests for (int i = 0; i < 10; ++i) { Random.NextBytes(sk); - Ed448.GeneratePublicKey(sk, 0, out var publicPoint); + var publicPoint = Ed448.GeneratePublicKey(sk, 0); Ed448.EncodePublicPoint(publicPoint, pk, 0); {