diff options
-rw-r--r-- | crypto/src/openpgp/PgpKeyRingGenerator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/openpgp/PgpKeyRingGenerator.cs b/crypto/src/openpgp/PgpKeyRingGenerator.cs index 03b4f644f..a04ebc7df 100644 --- a/crypto/src/openpgp/PgpKeyRingGenerator.cs +++ b/crypto/src/openpgp/PgpKeyRingGenerator.cs @@ -355,7 +355,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp PgpSignatureSubpacketGenerator spGen = new PgpSignatureSubpacketGenerator(hashedPackets); - spGen.SetEmbeddedSignature(false, + spGen.AddEmbeddedSignature(false, pGen.GenerateCertification(masterKey.PublicKey, keyPair.PublicKey)); sGen.SetHashedSubpackets(spGen.Generate()); |