WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 9167348

Browse files
committed
Fix comment
1 parent b93d4f7 commit 9167348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ func TestDoUpdate_P256(t *testing.T) {
490490
config, pkey, creds, _, err := c.Enroll(ctx, testutil.NewTestLogger(), "foobar")
491491
require.NoError(t, err)
492492

493-
// convert privkey to private key
493+
// convert private key to public key
494494
pubkey, err := keys.MarshalHostP256PublicKey(creds.PrivateKey.Public().Unwrap().(*ecdsa.PublicKey))
495495
require.NoError(t, err)
496496

0 commit comments

Comments
 (0)