aboutsummaryrefslogtreecommitdiff
path: root/log_parameters.go
diff options
context:
space:
mode:
Diffstat (limited to 'log_parameters.go')
-rw-r--r--log_parameters.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/log_parameters.go b/log_parameters.go
index 9c23fa6..a2a2d7a 100644
--- a/log_parameters.go
+++ b/log_parameters.go
@@ -5,8 +5,6 @@ import (
"fmt"
"time"
- "crypto/rand"
-
"github.com/system-transparency/stfe/types"
)
@@ -58,7 +56,7 @@ func (lp *LogParameters) SignTreeHeadV1(th *types.TreeHeadV1) (*types.StItem, er
if err != nil {
return nil, fmt.Errorf("Marshal failed for TreeHeadV1: %v", err)
}
- sig, err := lp.Signer.Sign(rand.Reader, serialized, crypto.Hash(0))
+ sig, err := lp.Signer.Sign(nil, serialized, crypto.Hash(0))
if err != nil {
return nil, fmt.Errorf("Sign failed: %v", err)
}