Skip to content

Commit

Permalink
Fixed to compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
markkurossi committed Sep 3, 2021
1 parent c669bac commit 3bb2e01
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ot/rsa_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// rsa_test.go
//
// Copyright (c) 2019 Markku Rossi
// Copyright (c) 2019-2021 Markku Rossi
//
// All rights reserved.
//
Expand Down Expand Up @@ -30,9 +30,10 @@ func benchmark(b *testing.B, keySize int) {

b.ResetTimer()

var l0Buf, l1Buf LabelData
for i := 0; i < b.N; i++ {
l0Data := l0.Bytes()
l1Data := l1.Bytes()
l0Data := l0.Bytes(&l0Buf)
l1Data := l1.Bytes(&l1Buf)
sXfer, err := sender.NewTransfer(l0Data, l1Data)
if err != nil {
b.Fatal(err)
Expand Down

0 comments on commit 3bb2e01

Please sign in to comment.