diff --git a/client_test.go b/client_test.go index b3faa67..45ec275 100644 --- a/client_test.go +++ b/client_test.go @@ -490,7 +490,7 @@ func TestDoUpdate_P256(t *testing.T) { config, pkey, creds, _, err := c.Enroll(ctx, testutil.NewTestLogger(), "foobar") require.NoError(t, err) - // convert privkey to private key + // convert private key to public key pubkey, err := keys.MarshalHostP256PublicKey(creds.PrivateKey.Public().Unwrap().(*ecdsa.PublicKey)) require.NoError(t, err)