diff options
Diffstat (limited to 'ffi')
-rw-r--r-- | ffi/go/bls/bls_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/go/bls/bls_test.go b/ffi/go/bls/bls_test.go index bfed6c2..a13ee02 100644 --- a/ffi/go/bls/bls_test.go +++ b/ffi/go/bls/bls_test.go @@ -467,7 +467,7 @@ func testReadRand(t *testing.T) { sec.SetByCSPRNG() buf := sec.GetLittleEndian() fmt.Printf("(SeqRead) buf=%x\n", buf) - for i := 0; i < len(buf) - 1; i++ { + for i := 0; i < len(buf)-1; i++ { // ommit buf[len(buf) - 1] because it may be masked if buf[i] != byte(i) { t.Fatal("buf") |