summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/asn1-ber/ber.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/asn1-ber/ber.go b/modules/asn1-ber/ber.go
index 3e99a273c6..52b9a59180 100644
--- a/modules/asn1-ber/ber.go
+++ b/modules/asn1-ber/ber.go
@@ -256,11 +256,11 @@ func ReadPacket(reader io.Reader) (*Packet, error) {
}
func DecodeString(data []byte) (ret string) {
- for _, c := range data {
- ret += fmt.Sprintf("%c", c)
- }
+ // for _, c := range data {
+ // ret += fmt.Sprintf("%c", c)
+ // }
- return
+ return string(data)
}
func DecodeInteger(data []byte) (ret uint64) {