summary refs log tree commit diff
path: root/crypto/src/openpgp/PgpKeyPair.cs
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2015-10-16 20:23:05 -0400
committerOren Novotny <oren@novotny.org>2015-10-16 20:23:05 -0400
commitde17e96f2d52a25a33e742d0f81e9052da77f49b (patch)
tree03ccef76aacc1bac6340df9faedf1d64dda76077 /crypto/src/openpgp/PgpKeyPair.cs
parentprep release for 1.8.0-rc2 (diff)
parentMerge branch 'master' into master-vs12 (diff)
downloadBouncyCastle.NET-ed25519-de17e96f2d52a25a33e742d0f81e9052da77f49b.tar.xz
Merge branch 'master-vs12' into pcl
Diffstat (limited to 'crypto/src/openpgp/PgpKeyPair.cs')
-rw-r--r--crypto/src/openpgp/PgpKeyPair.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/openpgp/PgpKeyPair.cs b/crypto/src/openpgp/PgpKeyPair.cs

index 6efb03a42..9cf78fa6f 100644 --- a/crypto/src/openpgp/PgpKeyPair.cs +++ b/crypto/src/openpgp/PgpKeyPair.cs
@@ -34,7 +34,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp DateTime time) { this.pub = new PgpPublicKey(algorithm, pubKey, time); - this.priv = new PgpPrivateKey(privKey, pub.KeyId); + this.priv = new PgpPrivateKey(pub.KeyId, pub.PublicKeyPacket, privKey); } /// <summary>Create a key pair from a PgpPrivateKey and a PgpPublicKey.</summary>