Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
bzEq committed Mar 31, 2024
1 parent 00a2005 commit 7a4e4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passes/passes.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (self *OBFSEncoder) Run(b *iovec.IoVec) error {
if err := WrapLegacyPass(self, b); err != nil {
return err
}
l := (rand.Uint64()%64 + 7) & (uint64(127) << 3)
l := (rand.Uint64()%64 + 7) & (uint64(63) << 3)
var padding bytes.Buffer
for i := uint64(0); i < l/8; i++ {
binary.Write(&padding, binary.BigEndian, rand.Uint64())
Expand Down

0 comments on commit 7a4e4cf

Please sign in to comment.