summary refs log tree commit diff
path: root/crypto/src/bcpg/SecretKeyPacket.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/bcpg/SecretKeyPacket.cs')
-rw-r--r--crypto/src/bcpg/SecretKeyPacket.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/src/bcpg/SecretKeyPacket.cs b/crypto/src/bcpg/SecretKeyPacket.cs
index d9ceab4f1..1bc684a69 100644
--- a/crypto/src/bcpg/SecretKeyPacket.cs
+++ b/crypto/src/bcpg/SecretKeyPacket.cs
@@ -161,10 +161,9 @@ namespace Org.BouncyCastle.Bcpg
             return bOut.ToArray();
         }
 
-        public override void Encode(
-            BcpgOutputStream bcpgOut)
+        public override void Encode(BcpgOutputStream bcpgOut)
         {
-            bcpgOut.WritePacket(PacketTag.SecretKey, GetEncodedContents(), true);
+            bcpgOut.WritePacket(PacketTag.SecretKey, GetEncodedContents());
         }
     }
 }