summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2020-09-11 07:09:41 +0000
committerotto <otto@openbsd.org>2020-09-11 07:09:41 +0000
commit418ac0ae63b6cdf1016e7010310e6ecb7ca16be6 (patch)
treee3d8a0b926930a49a8cd78308d2c14e316f7bcb3 /lib/libssl/ssl_lib.c
parentRefactor initial cleanup. (diff)
downloadwireguard-openbsd-418ac0ae63b6cdf1016e7010310e6ecb7ca16be6.tar.xz
wireguard-openbsd-418ac0ae63b6cdf1016e7010310e6ecb7ca16be6.zip
If we get messages but they are not ntp replies (e.g. caused by
incoming icmp) do not register them as replies. Also, fix a bug introduced in the previous commit: first recompute scale, then recompute interval, so that when the offset increases and thus the scale is lowered both the poll interval and the check interval use the same scale. First issue spotted by naddy@ second one by and ok semarie@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions