summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/evp/encode.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-03-02 19:45:42 +0000
committerpatrick <patrick@openbsd.org>2020-03-02 19:45:42 +0000
commitaa509601a1aab4eb78913aeb6c56dc9493192170 (patch)
treea2f6d2bf09aa58955d0e3d40cda90cba3435e9bf /lib/libcrypto/evp/encode.c
parentFix use of WITNESS_UNLOCK() in rw_exit_read() and rw_exit_write(). (diff)
downloadwireguard-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