diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-01-17 18:59:09 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-01-17 18:59:09 +0700 |
commit | 89670116f64f4d5cd10af53e360c851ec6ce2e55 (patch) | |
tree | 69bff05599b39f5657b017268946014183f537c5 /crypto/src | |
parent | Add new utility methods from bc-java (diff) | |
parent | fix: NullReferenceException in DerOctetString..ctor (diff) | |
download | BouncyCastle.NET-ed25519-89670116f64f4d5cd10af53e360c851ec6ce2e55.tar.xz |
Merge branch 'yla/fix/null-reference' of https://github.com/ylabade/bc-csharp
Diffstat (limited to 'crypto/src')
-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; } |