remove support for version 30, since we don't implement FEC at all

This commit is contained in:
Lucas Clemente
2016-05-02 20:53:15 +02:00
parent 53ef5669e2
commit daf4e4a867
4 changed files with 2 additions and 15 deletions

View File

@@ -146,12 +146,7 @@ func (h *CryptoSetup) isInchoateCHLO(cryptoData map[Tag][]byte) bool {
}
func (h *CryptoSetup) handleInchoateCHLO(data []byte) ([]byte, error) {
var chloOrNil []byte
if h.version > protocol.VersionNumber(30) {
chloOrNil = data
}
proof, err := h.scfg.Sign(chloOrNil)
proof, err := h.scfg.Sign(data)
if err != nil {
return nil, err
}