diff options
author | LABADE Youval <youval.labade@edenred.com> | 2022-01-12 17:20:59 +0100 |
---|---|---|
committer | LABADE Youval <youval.labade@edenred.com> | 2022-01-12 17:20:59 +0100 |
commit | c1f57e99a52e5cc4ab92465d53dd3428f6bd3d39 (patch) | |
tree | 3f138dbb2c7bfbd310a9004cfcac75c7146a1d39 /crypto/src/cms/KeyTransRecipientInfoGenerator.cs | |
parent | Tables8kGcmMultiplier performance (diff) | |
download | BouncyCastle.NET-ed25519-c1f57e99a52e5cc4ab92465d53dd3428f6bd3d39.tar.xz |
fix: NullReferenceException in DerOctetString..ctor
Diffstat (limited to '')
-rw-r--r-- | crypto/src/cms/KeyTransRecipientInfoGenerator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/KeyTransRecipientInfoGenerator.cs b/crypto/src/cms/KeyTransRecipientInfoGenerator.cs index 60020be1f..6ee3af6b6 100644 --- a/crypto/src/cms/KeyTransRecipientInfoGenerator.cs +++ b/crypto/src/cms/KeyTransRecipientInfoGenerator.cs @@ -37,7 +37,7 @@ namespace Org.BouncyCastle.Cms public KeyTransRecipientInfoGenerator(byte[] subjectKeyID, IKeyWrapper keyWrapper) { - this.subjectKeyIdentifier = new DerOctetString(subjectKeyIdentifier); + this.subjectKeyIdentifier = new DerOctetString(subjectKeyID); this.keyWrapper = keyWrapper; } |