diff options
author | 2020-03-02 19:45:42 +0000 | |
---|---|---|
committer | 2020-03-02 19:45:42 +0000 | |
commit | aa509601a1aab4eb78913aeb6c56dc9493192170 (patch) | |
tree | a2f6d2bf09aa58955d0e3d40cda90cba3435e9bf /lib/libcrypto/evp/encode.c | |
parent | Fix use of WITNESS_UNLOCK() in rw_exit_read() and rw_exit_write(). (diff) | |
download | wireguard-openbsd-aa509601a1aab4eb78913aeb6c56dc9493192170.tar.xz wireguard-openbsd-aa509601a1aab4eb78913aeb6c56dc9493192170.zip |
Allow puc(4) to cope with 64-bit BARs. puc(4) iterates over the BARs
assuming each BAR is four byte-wide. For 64-bit BARs this is not true,
so we need to skip the next entry if we encounter one. Otherwise we
corrupt the 64-bit BAR we just mapped.
ok kettenis@
"quite a hack" deraadt@
Diffstat (limited to 'lib/libcrypto/evp/encode.c')
0 files changed, 0 insertions, 0 deletions