summary refs log tree commit diff
path: root/crypto/src/openpgp
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-03-02 22:41:33 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-03-02 22:41:33 +0700
commit9b3a32dccb95b0ca8f0c683e5f494d37a87ff7cc (patch)
treee411f0d13509673289fd6aebd2f1537086b10b6a /crypto/src/openpgp
parentSHA3: one-shot methods for internal use (diff)
downloadBouncyCastle.NET-ed25519-9b3a32dccb95b0ca8f0c683e5f494d37a87ff7cc.tar.xz
Fix obsolete usage
Diffstat (limited to '')
-rw-r--r--crypto/src/openpgp/PgpKeyRingGenerator.cs2
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());