summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/dh/dh_key.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2016-07-06 15:53:01 +0000
committertedu <tedu@openbsd.org>2016-07-06 15:53:01 +0000
commitade4dc82a7d10bf06baa32184f39c3f5b1e1ac9e (patch)
treef3c055307e431b79d541118d066f2743ff46177e /lib/libcrypto/dh/dh_key.c
parentMove Hop-by-Hop processing into its own function ip6_hbhchcheck(). (diff)
downloadwireguard-openbsd-ade4dc82a7d10bf06baa32184f39c3f5b1e1ac9e.tar.xz
wireguard-openbsd-ade4dc82a7d10bf06baa32184f39c3f5b1e1ac9e.zip
fix several places where calculating ticks could overflow.
it's not enough to assign to an unsigned type because if the arithmetic overflows the compiler may decide to do anything. so change all the long long casts to uint64_t so that we start with the right type. reported by Tim Newsham of NCC. ok deraadt
Diffstat (limited to 'lib/libcrypto/dh/dh_key.c')
0 files changed, 0 insertions, 0 deletions