diff --git a/internal/wycheproof/ecdh_stdlib_test.go b/internal/wycheproof/ecdh_stdlib_test.go index 44315fcd09..f7abd6b2e8 100644 --- a/internal/wycheproof/ecdh_stdlib_test.go +++ b/internal/wycheproof/ecdh_stdlib_test.go @@ -118,7 +118,7 @@ func TestECDHStdLib(t *testing.T) { } shared := decodeHex(tt.Shared) - x, err := curve.ECDH(priv, pub) + x, err := priv.ECDH(pub) if err != nil { if tg.Curve == "curve25519" && !shouldPass { // ECDH is expected to only return an error when using X25519,