Commit 40d40475 authored by David Vorick's avatar David Vorick

Merge branch 'fix-instructionread-offset-test' into 'master'

Fix NDF in ReadOffsetInstruction test

See merge request !4548
parents ced66128 565466c9
Pipeline #152557145 passed with stages
in 29 minutes and 54 seconds
......@@ -52,6 +52,9 @@ func TestInstructionReadOffset(t *testing.T) {
if mod := length % crypto.SegmentSize; mod != 0 { // must be multiple of segmentsize
length -= mod
}
if length == 0 {
length = crypto.SegmentSize
}
// Use a builder to build the program.
tb = newTestProgramBuilder(pt)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment