|
@@ -152,12 +152,6 @@ CurvePreferenceLoop: |
|
|
return errors.New("tls: HelloRetryRequest not implemented") // TODO(filippo) |
|
|
return errors.New("tls: HelloRetryRequest not implemented") // TODO(filippo) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if committer, ok := c.conn.(Committer); ok { |
|
|
|
|
|
if err := committer.Commit(); err != nil { |
|
|
|
|
|
return err |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
privateKey, serverKS, err := config.generateKeyShare(ks.group) |
|
|
privateKey, serverKS, err := config.generateKeyShare(ks.group) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
c.sendAlert(alertInternalError) |
|
|
c.sendAlert(alertInternalError) |
|
|