Skip to content

Commit 0ec7e83

Browse files
FiloSottilegopherbot
authored andcommitted
internal/wycheproof: update Go 1.20 crypto/ecdh API
For golang/go#56052 Change-Id: If34d01132e221ff525319e43d127ef14579f9054 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/451095 Reviewed-by: Bryan Mills <[email protected]> Reviewed-by: Joedian Reid <[email protected]> Auto-Submit: Filippo Valsorda <[email protected]> Run-TryBot: Filippo Valsorda <[email protected]> Run-TryBot: Joedian Reid <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 6fad3df commit 0ec7e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/wycheproof/ecdh_stdlib_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func TestECDHStdLib(t *testing.T) {
118118
}
119119

120120
shared := decodeHex(tt.Shared)
121-
x, err := curve.ECDH(priv, pub)
121+
x, err := priv.ECDH(pub)
122122
if err != nil {
123123
if tg.Curve == "curve25519" && !shouldPass {
124124
// ECDH is expected to only return an error when using X25519,

0 commit comments

Comments
 (0)