aboutsummaryrefslogtreecommitdiff
path: root/object/id/algorithm_tables.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/id/algorithm_tables.go')
-rw-r--r--object/id/algorithm_tables.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/object/id/algorithm_tables.go b/object/id/algorithm_tables.go
index 92b77de0..e4ec3257 100644
--- a/object/id/algorithm_tables.go
+++ b/object/id/algorithm_tables.go
@@ -61,10 +61,12 @@ func init() { //nolint:gochecknoinits
}
info.emptyTree = info.sum(emptyTreeInput)
+
algorithmByName[info.name] = algo
if info.signatureHeaderName != "" {
algorithmBySignatureHeaderName[info.signatureHeaderName] = algo
}
+
supportedAlgorithms = append(supportedAlgorithms, algo)
}
}