tool: Fix b2s BLAKE2s digest zero padding

This commit is contained in:
Jonas Thörnblad 2025-06-24 11:14:05 +02:00
parent c0b3c80620
commit 03d96c3e96
No known key found for this signature in database
GPG key ID: 2D318AD00A326F95

View file

@ -20,7 +20,7 @@ func printCDigest(digest [blake2s.Size]byte, fileName string) {
fmt.Printf("const uint8_t digest[32] = {\n")
for _, n := range digest {
fmt.Printf("0x%x, ", n)
fmt.Printf("0x%02x, ", n)
}
fmt.Printf("\n}; \n")