summary refs log tree commit diff
path: root/crypto/src/pkcs/Pkcs10CertificationRequest.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2020-04-05 19:32:51 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2020-04-05 19:32:51 +0700
commitbaba49459359f37c10862872db13f2dd9526daa3 (patch)
tree4d70e955e3af23494de3095dabab59f3db25c07f /crypto/src/pkcs/Pkcs10CertificationRequest.cs
parentKeccak refactoring/performance (diff)
downloadBouncyCastle.NET-ed25519-baba49459359f37c10862872db13f2dd9526daa3.tar.xz
Add OIW dsaWithSHA1 OID to 'noParams'
Diffstat (limited to 'crypto/src/pkcs/Pkcs10CertificationRequest.cs')
-rw-r--r--crypto/src/pkcs/Pkcs10CertificationRequest.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/src/pkcs/Pkcs10CertificationRequest.cs b/crypto/src/pkcs/Pkcs10CertificationRequest.cs
index 34bda3815..db3c4888c 100644
--- a/crypto/src/pkcs/Pkcs10CertificationRequest.cs
+++ b/crypto/src/pkcs/Pkcs10CertificationRequest.cs
@@ -141,7 +141,8 @@ namespace Org.BouncyCastle.Pkcs
 			noParams.Add(X9ObjectIdentifiers.ECDsaWithSha384);
 			noParams.Add(X9ObjectIdentifiers.ECDsaWithSha512);
 			noParams.Add(X9ObjectIdentifiers.IdDsaWithSha1);
-			noParams.Add(NistObjectIdentifiers.DsaWithSha224);
+            noParams.Add(OiwObjectIdentifiers.DsaWithSha1);
+            noParams.Add(NistObjectIdentifiers.DsaWithSha224);
 			noParams.Add(NistObjectIdentifiers.DsaWithSha256);
 
 			//