summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2019-03-26 22:47:59 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2019-03-26 22:47:59 +0700
commit93181966f3fe9c55e208f1fc93a1bbe9f1550459 (patch)
tree9b8eb5322fe2601ca7fcba2f29b57eb3c2363998
parentMerge branch 'kakkerlakgly-patch-1' (diff)
parentUpdate CMSSignedHelper.cs (diff)
downloadBouncyCastle.NET-ed25519-93181966f3fe9c55e208f1fc93a1bbe9f1550459.tar.xz
Merge branch 'patch-2' of https://github.com/kakkerlakgly/bc-csharp into kakkerlakgly-patch-2
-rw-r--r--crypto/src/cms/CMSSignedHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/CMSSignedHelper.cs b/crypto/src/cms/CMSSignedHelper.cs
index 3fb3cee26..6d49a5513 100644
--- a/crypto/src/cms/CMSSignedHelper.cs
+++ b/crypto/src/cms/CMSSignedHelper.cs
@@ -84,7 +84,7 @@ namespace Org.BouncyCastle.Cms
 
 			encryptionAlgs.Add(X9ObjectIdentifiers.IdDsa.Id, "DSA");
 			encryptionAlgs.Add(PkcsObjectIdentifiers.RsaEncryption.Id, "RSA");
-			encryptionAlgs.Add(TeleTrusTObjectIdentifiers.TeleTrusTRsaSignatureAlgorithm, "RSA");
+			encryptionAlgs.Add(TeleTrusTObjectIdentifiers.TeleTrusTRsaSignatureAlgorithm.Id, "RSA");
 			encryptionAlgs.Add(X509ObjectIdentifiers.IdEARsa.Id, "RSA");
 			encryptionAlgs.Add(CmsSignedGenerator.EncryptionRsaPss, "RSAandMGF1");
 			encryptionAlgs.Add(CryptoProObjectIdentifiers.GostR3410x94.Id, "GOST3410");