Update goech to v0.0.1

This commit is contained in:
风扇滑翔翼 2025-02-27 07:14:03 +00:00 committed by GitHub
parent 53ceaf87a5
commit 26199629f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@ func executeECH(cmd *base.Command, args []string) {
kem = hpke.KEM_X25519_HKDF_SHA256
}
echKeySet, err := goech.GenerateECHKeySet(0, *input_serverName, kem)
echKeySet, err := goech.GenerateECHKeySet(0, *input_serverName, kem, nil)
common.Must(err)
configBuffer, _ := echKeySet.ECHConfig.MarshalBinary()