Skip to content

Commit

Permalink
🐛 Ack, that was embarrassing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihara committed Jun 21, 2023
1 parent f534fa0 commit 5f14fdc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,12 @@ func main() {
check(err, "Could not assemble a sig block, something is very weird.")

// The actual sig block is compressed with zlib to save space.
compressedSig, _ := compress(buf)
var compressedSig []byte
if uncSig {
compressedSig = buf
} else {
compressedSig, _ = compress(buf)
}

sigBlock := append([]byte(sigHeader), compressedSig...)

Expand Down

0 comments on commit 5f14fdc

Please sign in to comment.