From 916734821e2901a6e4b73b338336e1ff2ab93d71 Mon Sep 17 00:00:00 2001 From: Caleb Jasik Date: Mon, 20 Oct 2025 16:33:17 -0500 Subject: [PATCH] Fix comment --- client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)