summaryrefslogtreecommitdiffstats
path: root/lib/libsqlite3
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2012-06-04 09:14:29 +0000
committermikeb <mikeb@openbsd.org>2012-06-04 09:14:29 +0000
commit45b72fd1a26b2a335007f92d655420371e70caaa (patch)
treecd1ec6523419fa69e80d8324ebce57752b4e5096 /lib/libsqlite3
parentfix autodetection, somehow I managed to lose that commit earlier ? (diff)
downloadwireguard-openbsd-45b72fd1a26b2a335007f92d655420371e70caaa.tar.xz
wireguard-openbsd-45b72fd1a26b2a335007f92d655420371e70caaa.zip
Rounding up a number of bytes in a bignum returned by the BN_num_bytes()
has implications when dealing with leading zeroes. Prevent an incorrect conversion of the EC point to the binary representation by inferring the X and Y components' lengths from the EC group length and zeroing out the appropriate chunks of the target buffer. From hshoexer@
Diffstat (limited to 'lib/libsqlite3')
0 files changed, 0 insertions, 0 deletions