cleanup: removes Committer interface
This commit is contained in:
parent
e20b4d2a9a
commit
1678dc5074
6
13.go
6
13.go
@ -152,12 +152,6 @@ CurvePreferenceLoop:
|
||||
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)
|
||||
if err != nil {
|
||||
c.sendAlert(alertInternalError)
|
||||
|
@ -16,10 +16,6 @@ import (
|
||||
"sync/atomic"
|
||||
)
|
||||
|
||||
type Committer interface {
|
||||
Commit() error
|
||||
}
|
||||
|
||||
// serverHandshakeState contains details of a server handshake in progress.
|
||||
// It's discarded once the handshake has completed.
|
||||
type serverHandshakeState struct {
|
||||
|
Loading…
Reference in New Issue
Block a user