From 3d1b6e8867073362628aadba1ad3ebfb97b2cfc4 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 23 Sep 2015 21:30:20 +0200 Subject: minor cleanup --- ber/class.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ber/class.go') diff --git a/ber/class.go b/ber/class.go index 279b3db..b734964 100644 --- a/ber/class.go +++ b/ber/class.go @@ -139,7 +139,6 @@ func Private(b []byte) (int, bool) { func MarshalClass(c Class, k Kind, t Tag) []byte { tag := base128(int(t)) - tag[0] |= byte(c) - tag[0] |= byte(k) + tag[0] |= byte(c) | byte(k) return tag } -- cgit v1.2.3