diff options
Diffstat (limited to 'crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs')
-rw-r--r-- | crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs b/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs index ab7c1a0bd..fc1554205 100644 --- a/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs +++ b/crypto/src/cms/KeyAgreeRecipientInfoGenerator.cs @@ -75,7 +75,7 @@ namespace Org.BouncyCastle.Cms } Asn1OctetString ukm = null; - if (m_keyAgreementOid.Id.Equals(CmsEnvelopedGenerator.ECMqvSha1Kdf)) + if (CmsUtilities.IsMqv(m_keyAgreementOid)) { try { |