summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/crypto/signers/SM2Signer.cs2
-rw-r--r--crypto/test/src/crypto/test/SM2SignerTest.cs1
2 files changed, 1 insertions, 2 deletions
diff --git a/crypto/src/crypto/signers/SM2Signer.cs b/crypto/src/crypto/signers/SM2Signer.cs
index c5a5981d8..8151e6be0 100644
--- a/crypto/src/crypto/signers/SM2Signer.cs
+++ b/crypto/src/crypto/signers/SM2Signer.cs
@@ -28,7 +28,7 @@ namespace Org.BouncyCastle.Crypto.Signers
 
         public virtual string AlgorithmName
         {
-            get { return "SM2"; }
+            get { return "SM2Sign"; }
         }
 
         public virtual void Init(bool forSigning, ICipherParameters parameters)
diff --git a/crypto/test/src/crypto/test/SM2SignerTest.cs b/crypto/test/src/crypto/test/SM2SignerTest.cs
index a79793016..5904c95a7 100644
--- a/crypto/test/src/crypto/test/SM2SignerTest.cs
+++ b/crypto/test/src/crypto/test/SM2SignerTest.cs
@@ -4,7 +4,6 @@ using System.IO;
 using NUnit.Framework;
 
 using Org.BouncyCastle.Asn1;
-using Org.BouncyCastle.Crypto;
 using Org.BouncyCastle.Crypto.Generators;
 using Org.BouncyCastle.Crypto.Parameters;
 using Org.BouncyCastle.Crypto.Signers;