aboutsummaryrefslogtreecommitdiff
path: root/pkg/requests/requests_test.go
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-04-29 15:23:41 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-04-29 22:07:01 +0200
commitf3e418081703081d984e48e3ad2a7e98a6206bde (patch)
tree98a8fdcf3bde60cc77ac8de0e0e4cfd2c2cb909a /pkg/requests/requests_test.go
parent60131023dd5b3d28175d4cc5f7519086793482dd (diff)
change verification_key to public_keyv0.0.7
Issue: #40
Diffstat (limited to 'pkg/requests/requests_test.go')
-rw-r--r--pkg/requests/requests_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/requests/requests_test.go b/pkg/requests/requests_test.go
index d6aaf6c..e439774 100644
--- a/pkg/requests/requests_test.go
+++ b/pkg/requests/requests_test.go
@@ -223,7 +223,7 @@ func validLeaf(t *testing.T) *Leaf {
ShardHint: 1,
Message: *newHashBufferInc(t),
Signature: *newSigBufferInc(t),
- VerificationKey: *newPubBufferInc(t),
+ PublicKey: *newPubBufferInc(t),
DomainHint: "example.com",
}
}
@@ -234,7 +234,7 @@ func validLeafASCII(t *testing.T) string {
"shard_hint", 1,
"message", newHashBufferInc(t)[:],
"signature", newSigBufferInc(t)[:],
- "verification_key", newPubBufferInc(t)[:],
+ "public_key", newPubBufferInc(t)[:],
"domain_hint", "example.com",
)
}