This commit is contained in:
风扇滑翔翼
2025-07-26 04:58:41 +00:00
committed by GitHub
parent 90e2efc4ed
commit cb72a79f5b
5 changed files with 24 additions and 24 deletions

View File

@@ -65,8 +65,8 @@ func ApplyECH(c *Config, config *tls.Config) error {
}
// for server
if len(c.EchKeySets) != 0 {
KeySets, err := ConvertToGoECHKeys(c.EchKeySets)
if len(c.EchSeverKeys) != 0 {
KeySets, err := ConvertToGoECHKeys(c.EchSeverKeys)
if err != nil {
return errors.New("Failed to unmarshal ECHKeySetList: ", err)
}