Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix formatting of authorization record. (#52)
Some systems consider `char` to be signed by default, which causes the system implementation of `printf("%02x", (char)0xd6);` to print `ffffffd6`, instead of just `d6`. As the nonce almost always has "negative" bytes, this badly corrupts the record formatting. Also add a _Static_assert for the exact size of the authorization record, for good measure.
- Loading branch information