mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
In the original fix in #8563 I simply forgot this. Which meant #8556 wasn't actually fixed, as the trialer size would have been 0 (default), and thus we would have still sent the inflated size to encrypted peers.
This commit is contained in:
parent
6a66aee489
commit
3a41d4afa5
@ -357,6 +357,7 @@ func (s *sharedPullerState) finalizeEncrypted() error {
|
||||
return err
|
||||
}
|
||||
s.file.Size += trailerSize
|
||||
s.file.EncryptionTrailerSize = int(trailerSize)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user