aboutsummaryrefslogtreecommitdiff
path: root/parse
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-07-07 22:49:52 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-07-07 22:49:52 +0200
commit8b2ca579d8274fe8ce3b2d30165c99066762c73a (patch)
tree725b3f0b6f3c76f9d51c71dab4f311e62c54f6a3 /parse
parent784632de3fb2af5ee5bc279a3f9ad0fc39321824 (diff)
Add BitString
Diffstat (limited to 'parse')
-rw-r--r--parse/parse.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse/parse.go b/parse/parse.go
index eb67e8a..1a6a77f 100644
--- a/parse/parse.go
+++ b/parse/parse.go
@@ -19,6 +19,8 @@ func dump(b []byte, indent int) {
fmt.Println(tag, ber.UnmarshalInt(value))
case ber.ObjectIdentifier:
fmt.Println(tag, ber.UnmarshalOID(value))
+ case ber.BitString:
+ fmt.Println(tag, ber.UnmarshalBitString(value))
default:
if len(value) > 5 {
fmt.Println(tag, kind, value[:5], "...")