aboutsummaryrefslogtreecommitdiff
path: root/keywrap.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2020-10-15 18:20:36 -0400
committerPaul Selkirk <paul@psgd.org>2020-10-15 18:20:36 -0400
commit11a3fe10920aa705d7f1c50b32b2bb9feda2ad8b (patch)
treec99d816c2321d7765d773fdb922c4323ba538607 /keywrap.c
parent68f2f6f9c908d4f51036505b50ab42436e720143 (diff)
2 years later, Ubuntu is still shipping a broken newlib, and Rob points
out writing 4 bytes into a 1-byte value is probably not a good idea. So sscanf the string into an array of uint16_t, and copy out the low bytes. It's a kludge, but the alternatives are worse (e.g. bypass sscanf, and parse raw bytes).
Diffstat (limited to 'keywrap.c')
0 files changed, 0 insertions, 0 deletions