internal/wycheproof: update Go 1.20 crypto/ecdh API
For golang/go#56052
Run-TryBot: Filippo Valsorda
Run-TryBot: Joedian Reid
TryBot-Result: Gopher Robot
@@ -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,
