tor/src
teor 6d54bdbdcf Handle edge cases in laplace functions
Avoid division by zero.
Avoid taking the log of zero.
Silence clang type conversion warnings using round and trunc.
The existing values returned by the laplace functions do not change.

Add tests for laplace edge cases.
These changes pass the existing unit tests without modification.

Related to HS stats in #13192.
2015-05-06 18:05:15 +10:00
..
common Handle edge cases in laplace functions 2015-05-06 18:05:15 +10:00
config Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6 2015-04-27 14:18:16 -04:00
ext Merge remote-tracking branch 'origin/maint-0.2.6' 2015-03-23 09:25:35 -04:00
or Merge branch 'feature3523_027' 2015-05-04 11:41:50 -04:00
test Handle edge cases in laplace functions 2015-05-06 18:05:15 +10:00
tools Use a custom Base64 encoder with more control over the output format. 2015-04-23 09:06:58 -04:00
trunnel Disable assertions during coverage builds 2015-03-21 02:34:44 +01:00
win32 bump version to 0.2.6.7-dev 2015-04-06 10:02:59 -04:00
include.am Use trunnel for crypto_pwbox encoding/decoding. 2014-09-25 11:58:14 -04:00