summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-04-12crypt_ops: Stop using a separate buffer in ed25519_signature_from_base64()teor
Part of 29960.
2019-04-05binascii: Fix the base64_encode_nopad() buffer length requirementteor
Comment-only change. Part of 29660.
2019-04-05crypto_format: Stop adding padding in ed25519_signature_from_base64()teor
base64_decode() does not require padding. Part of 29660.
2019-04-05crypto_format: Remove the return value from ed25519_signature_to_base64()teor
Also remove all checks for the return value, which were redundant anyway, because the function never failed. Part of 29660.
2019-04-05crypto_format: Remove the return value from curve25519_public_to_base64()teor
And fix the documentation on the function: it does produce trailing "="s as padding. Also remove all checks for the return value, which were redundant anyway, because the function never failed. Part of 29660.
2019-04-05crypto_format: Remove the return values from digest256_to_base64()teor
... and ed25519_public_to_base64(). Also remove all checks for the return values, which were redundant anyway, because the functions never failed. Part of 29960.
2019-04-05crypto_format: Remove unused return value from digest_to_base64()teor
Part of 29660.
2019-04-05crypto_format: Remove outdated commentsteor
(These functions look pretty unified to me.) Part of 29660.
2019-04-04Merge remote-tracking branch 'tor-github/pr/752'Nick Mathewson
2019-04-04Merge branch 'maint-0.4.0'Nick Mathewson
2019-04-04Merge branch 'bug29959_040_squashed' into maint-0.4.0Nick Mathewson
2019-04-04bwauth: Actually include the bandwidth-file-digest in authority votesteor
Fixes bug 29959; bugfix on 0.4.0.2-alpha.
2019-04-03Merge branch 'maint-0.4.0'George Kadianakis
2019-04-03Merge branch 'tor-github/pr/867' into maint-0.4.0George Kadianakis
2019-04-03Merge branch 'maint-0.4.0'Nick Mathewson
2019-04-03Merge branch 'maint-0.3.5' into maint-0.4.0Nick Mathewson
2019-04-03Merge branch 'maint-0.3.4' into maint-0.3.5Nick Mathewson
2019-04-03Merge branch 'maint-0.2.9' into maint-0.3.4Nick Mathewson
2019-04-03Merge remote-tracking branch 'tor-github/pr/860'Nick Mathewson
2019-04-03Update geoip and geoip6 to the April 2 2019 database.Karsten Loesing
2019-04-03Merge remote-tracking branch 'tor-github/pr/863'teor
2019-04-02Merge remote-tracking branch 'tor-github/pr/875'teor
2019-04-02Merge remote-tracking branch 'tor-github/pr/864'teor
2019-03-30bug_occurred: a place where we assumed that "buf" was still a bufferNick Mathewson
In 9c132a5f9e87a2cd0f we replaced "buf" with a pointer and replaced one instance of snprintf with asprintf -- but there was still one snprintf left over, being crashy. Fixes bug 29967; bug not in any released Tor. This is CID 1444262.
2019-03-29Merge branch 'ticket29662_squashed' into ticket29662_squashed_mergedNick Mathewson
2019-03-29Check for NULL in tor_assertf_nonfatal()rl1987
2019-03-29Refrain from using static buffer for assert failure message; call ↵rl1987
tor_asprintf() instead
2019-03-29Use tor_assertf{_nonfatal} in coderl1987
2019-03-29Silence compiler warningsrl1987
2019-03-29dircache: Refactor handle_get_next_bandwidth() to use connection_dir_buf_add()teor
Implements ticket 29897.
2019-03-29Add connection_dir_buf_add() helper functionrl1987
2019-03-28test_routerkeys.c: Always check mkdir() return valueNick Mathewson
After this fix, we have no more unchecked mkdir() calls. Bug 29939; CID 144254. Bugfix on 0.2.7.2-alpha.
2019-03-28Don't unconditionally deref pub and sub in lint_message_consistencyNick Mathewson
This can't actually result in a null pointer dereference, since pub_excl and sub_excl are only set when the corresponding smartlists are nonempty. But coverity isn't smart enough to figure that out, and we shouldn't really be depending on it. Bug 29938; CID 1444257. Bug not in any released Tor.
2019-03-27Merge branch 'tor-github/pr/859'George Kadianakis
2019-03-27Merge branch 'maint-0.4.0'teor
2019-03-27Merge remote-tracking branch 'tor-github/pr/835' into maint-0.4.0teor
2019-03-27Stop assuming that /usr/bin/python3 existsteor
For scripts that work with python2, use /usr/bin/python. Otherwise, use /usr/bin/env python3. Fixes bug 29913; bugfix on 0.2.5.3-alpha.
2019-03-26Merge branch 'messaging_v3' into messaging_v3_mergedNick Mathewson
2019-03-27Merge remote-tracking branch 'tor-github/pr/820' into maint-0.3.4teor
2019-03-26Remove message/subsystem numbers from log messagesNick Mathewson
Having the numbers in those messages makes some of the unit test unstable, by causing them to depend on the initialization order of the naming objects.
2019-03-27Merge branch 'maint-0.4.0'teor
2019-03-27Merge remote-tracking branch 'tor-github/pr/836' into maint-0.4.0teor
2019-03-26Merge branch 'tor-github/pr/842'George Kadianakis
2019-03-26Merge branch 'bug29805_rebased_squashed'Nick Mathewson
2019-03-26prob-distr: Some more comments about the initializers.George Kadianakis
Based on patches and review comments by Riastradh and Catalyst. Co-authored-by: Taylor R Campbell <campbell+tor@mumble.net> Co-authored-by: Taylor Yu <catalyst@torproject.org>
2019-03-26prob-distr: Silence some coverity warnings.George Kadianakis
2019-03-26Merge branch 'tor-github/pr/709'George Kadianakis
2019-03-26Merge branch 'maint-0.4.0'George Kadianakis
2019-03-26Merge branch 'tor-github/pr/847' into maint-0.4.0George Kadianakis
2019-03-26Merge remote-tracking branch 'tor-github/pr/724'teor