summary refs log tree commit diff
path: root/crypto/src/asn1/DerOctetString.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/DerOctetString.cs')
-rw-r--r--crypto/src/asn1/DerOctetString.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/DerOctetString.cs b/crypto/src/asn1/DerOctetString.cs
index 55c099360..d49393641 100644
--- a/crypto/src/asn1/DerOctetString.cs
+++ b/crypto/src/asn1/DerOctetString.cs
@@ -21,12 +21,12 @@ namespace Org.BouncyCastle.Asn1
         {
         }
 
-        internal override bool EncodeConstructed()
+        internal override bool EncodeConstructed(int encoding)
         {
             return false;
         }
 
-        internal override int EncodedLength(bool withID)
+        internal override int EncodedLength(int encoding, bool withID)
         {
             return Asn1OutputStream.GetLengthOfEncodingDL(withID, contents.Length);
         }