summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnh Vo <anhvo@microsoft.com>2023-03-27 18:39:49 -0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-04-15 19:17:18 +0700
commit14d34d01a97a3dbc0f5255ce4d84d80664e0038d (patch)
tree94154a74d2bba2a1b03c312c43a1b42dd867e3ef
parentport OpenSSH key support from java api (diff)
downloadBouncyCastle.NET-ed25519-14d34d01a97a3dbc0f5255ce4d84d80664e0038d.tar.xz
removed commented out code
-rw-r--r--crypto/src/pkcs/PrivateKeyInfoFactory.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/crypto/src/pkcs/PrivateKeyInfoFactory.cs b/crypto/src/pkcs/PrivateKeyInfoFactory.cs
index b180e49f2..1baf2dd9f 100644
--- a/crypto/src/pkcs/PrivateKeyInfoFactory.cs
+++ b/crypto/src/pkcs/PrivateKeyInfoFactory.cs
@@ -164,16 +164,6 @@ namespace Org.BouncyCastle.Pkcs
                 else
                 {
                     X962Parameters x962;
-                    //if (priv.PublicKeyParamSet == null)
-                    //{
-                    //    X9ECParameters ecP = new X9ECParameters(dp.Curve, new X9ECPoint(dp.G, false), dp.N, dp.H,
-                    //        dp.GetSeed());
-                    //    x962 = new X962Parameters(ecP);
-                    //}
-                    //else
-                    //{
-                    //    x962 = new X962Parameters(priv.PublicKeyParamSet);
-                    //}
                     if (dp is ECNamedDomainParameters _dp)
                     {
                         x962 = new X962Parameters(_dp.Name);