aboutsummaryrefslogtreecommitdiff
path: root/internal/utils
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2023-03-17 13:19:40 +0100
committerRasmus Dahlberg <rasmus@rgdd.se>2023-03-17 13:19:40 +0100
commit44b6d75da73477c3571a30be4f826f0f13482dd1 (patch)
tree1d82832d1479e8ea5bc89676b6cedeb878e4de16 /internal/utils
parentefb4e988aa693eb67efaaae82cc4d008facca0f3 (diff)
Remove dead code
Diffstat (limited to 'internal/utils')
-rw-r--r--internal/utils/utils.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/utils/utils.go b/internal/utils/utils.go
index 7f5b1bc..5b27868 100644
--- a/internal/utils/utils.go
+++ b/internal/utils/utils.go
@@ -5,7 +5,6 @@ import (
"fmt"
"os"
- "git.cs.kau.se/rasmoste/ct-sans/internal/merkle"
"gitlab.torproject.org/rgdd/ct/pkg/metadata"
)
@@ -46,11 +45,3 @@ func Proof(hashes [][]byte) (p [][sha256.Size]byte) {
}
return
}
-
-// LeafHashes formats a list of data as leaf hashes
-func LeafHashes(data [][]byte) (lh [][sha256.Size]byte) {
- for _, d := range data {
- lh = append(lh, merkle.HashLeafNode(d))
- }
- return
-}