mirror of
https://github.com/wader/fq.git
synced 2024-12-24 22:05:31 +03:00
interp: Fix broken aes_ctr, should return buffer instead of []byte
This commit is contained in:
parent
f801cc0af7
commit
4eccb1ee71
@ -234,7 +234,7 @@ func (i *Interp) aesCtr(c interface{}, a []interface{}) interface{} {
|
||||
return err
|
||||
}
|
||||
|
||||
return buf.Bytes()
|
||||
return newBufferRangeFromBuffer(bitio.NewBufferFromBytes(buf.Bytes(), -1), 8)
|
||||
}
|
||||
|
||||
func (i *Interp) _hexdump(c interface{}, a []interface{}) gojq.Iter {
|
||||
|
Loading…
Reference in New Issue
Block a user