summary refs log tree commit diff
path: root/crypto/src/asn1/BERGenerator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/BERGenerator.cs')
-rw-r--r--crypto/src/asn1/BERGenerator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/BERGenerator.cs b/crypto/src/asn1/BERGenerator.cs
index 0b9c43b13..e43d9f80c 100644
--- a/crypto/src/asn1/BERGenerator.cs
+++ b/crypto/src/asn1/BERGenerator.cs
@@ -60,7 +60,7 @@ namespace Org.BouncyCastle.Asn1
         {
             if (_tagged)
             {
-                int tagNum = _tagNo | Asn1Tags.Tagged;
+                int tagNum = _tagNo | Asn1Tags.ContextSpecific;
 
                 if (_isExplicit)
                 {