File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
app/bootstrap/internal/state Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,8 @@ import (
1212 "github.com/spiffe/spike-sdk-go/crypto"
1313)
1414
15- // resetRootSharesForTesting resets the rootSharesGenerated flag to allow
16- // multiple calls to RootShares() within tests. This function should ONLY be
17- // used in test code to enable testing of RootShares() behavior.
18- //
19- // WARNING: This function should never be called in production code.
20- func resetRootSharesForTesting () {
21- rootSharesGeneratedMu .Lock ()
22- rootSharesGenerated = false
23- rootSharesGeneratedMu .Unlock ()
24- }
25-
26- // Helper function to create test shares with known structure
15+ // createTestShares creates test shares with known structure for testing
16+ // KeeperShare and related functionality.
2717func createTestShares (t * testing.T , numShares int ) []shamir.Share {
2818 g := group .P256
2919
You can’t perform that action at this time.
0 commit comments