aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/wycheproof/ecdh_stdlib_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/wycheproof/ecdh_stdlib_test.go b/internal/wycheproof/ecdh_stdlib_test.go
index 44315fc..f7abd6b 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,