aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-08-08Make finish_daemon() return a boolean to say whether it did anything.Nick Mathewson
2018-08-08When RunAsDaemon is set, crypto_postfork() as neededNick Mathewson
2018-08-02Suppress strict-prototypes warning in crypto_nss_mgt.cNick Mathewson
2018-08-02Fix double-link of crypto_openssl_mgt.cNick Mathewson
2018-08-02Add a cast to make clang happier.Nick Mathewson
2018-07-31Fix issues with crypto_ope compilation now that crypto.h is goneNick Mathewson
2018-07-31Merge branch 'nss_dh_squashed' into nss_dh_squashed_mergedNick Mathewson
2018-07-31Only link crypto_dh_openssl.c onceNick Mathewson
(We do this unconditionally, since we still need it for tortls.c)
2018-07-31Additional tests for NSS DHNick Mathewson
Notably, there's a test to make sure that it round-trips with OpenSSL, if OpenSSL is enabled.
2018-07-31Implement DH in NSS.Nick Mathewson
2018-07-31Refactor the dependency between tortls and crypto_dh.Nick Mathewson
We only ever need this to get us a DH ephemeral key object, so make a function that does just that.
2018-07-31Extract the shared part of crypto_dh_compute_secret.Nick Mathewson
2018-07-31Extract the OpenSSL DH functionality to a new file.Nick Mathewson
2018-07-31Make the rust tests link.Nick Mathewson
2018-07-31Fix "make distcheck."Nick Mathewson
2018-07-31Use NSS for AES_CTR.Nick Mathewson
2018-07-31Use NSS in crypto_rand.cNick Mathewson
This is comparatively straightforward too, except for a couple of twists: * For as long as we're building with two crypto libraries, we want to seed _both_ their RNGs, and use _both_ their RNGs to improve the output of crypto_strongest_rand() * The NSS prng will sometimes refuse to generate huge outputs. When it does, we stretch the output with SHAKE. We only need this for the tests.
2018-07-31Make sure NSS is initialized before running benchmarksNick Mathewson
2018-07-31Use NSS's digest code in Tor.Nick Mathewson
This was a fairly straightforward port, once I realized which layer I should be calling into.
2018-07-31Merge remote-tracking branch 'teor/bug26986'Nick Mathewson
2018-07-30fix wrong word in commentRoger Dingledine
2018-07-31Use Windows-compatible format strings in tor-print-ed-signing-cert.cteor
Fixes bug 26986; bugfix on master.
2018-07-31Add TOR_PRIdSZ to torint.hteor
2018-07-30Remove a now-obsolete comment about deadcode_dummy__Nick Mathewson
2018-07-30Merge branch 'ticket26890'Nick Mathewson
2018-07-30Merge remote-tracking branch 'teor/bug26627_033_merged_master'Nick Mathewson
2018-07-30Update include in tor-print-ed-signing-certNick Mathewson
2018-07-30Merge remote-tracking branch 'rl1987/feature19506_3'Nick Mathewson
2018-07-30Merge remote-tracking branch 'rl1987/ticket21349_4'Nick Mathewson
2018-07-30Merge remote-tracking branch 'teor/bug26924'Nick Mathewson
2018-07-30Merge remote-tracking branch 'juga/ticket3723_03_squashed_rebased'Nick Mathewson
2018-07-30Merge remote-tracking branch 'rl1987/bug26892_take2'Nick Mathewson
2018-07-30Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-30Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-07-30Merge branch 'maint-0.3.2' into maint-0.3.3Nick Mathewson
2018-07-26Don't disable an unsupported compiler warningTaylor Yu
Conditionalize the pragma that temporarily disables -Wunused-const-variable. Some versions of gcc don't support it. We need to do this because of an apparent bug in some libzstd headers. Fixes bug 26785; bugfix on 0.3.2.11.
2018-07-26Early bailout from log_addr_has_changed() if running as clientrl1987
2018-07-25Remove comment about Tor2webteor
Part of #26367.
2018-07-25Merge branch 'bug26924_032' into bug26924teor
Update rendcommon.h include path.
2018-07-25Improve connection auth loggingteor
Improve the log message when connection initiators fail to authenticate direct connections to relays. Fixes bug 26927; bugfix on 0.3.0.1-alpha.
2018-07-25Merge branch 'bug26924_029' into bug26924_032teor
2018-07-25Stop logging link auth warnings on Single Onion Services and Tor2webteor
Instead, log a protocol warning when single onion services or Tor2web clients fail to authenticate direct connections to relays. Fixes bug 26924; bugfix on 0.2.9.1-alpha.
2018-07-25Merge branch 'bug26627_033' into bug26627_033_merged_masterteor
2018-07-25Stop putting unsupported ed25519 link auth in v3 onion service descsteor
Stop putting ed25519 link specifiers in v3 onion service descriptors, when the intro point doesn't support ed25519 link authentication. Fixes bug 26627; bugfix on 0.3.2.4-alpha.
2018-07-25Stop sending unsupported ed25519 link specifiers in v3 introduce cellsteor
Stop sending ed25519 link specifiers in v3 onion service introduce cells, when the rendezvous point doesn't support ed25519 link authentication. Fixes bug 26627; bugfix on 0.3.2.4-alpha.
2018-07-21Split select_entry_guard_for_circuit()rl1987
2018-07-21Make entry_guards_update_primary() shorterrl1987
2018-07-21Split sampled_guards_update_from_consensus() into subfunctionsrl1987
2018-07-20Remove over-cleverness from our coverity BUG() definition.Nick Mathewson
Our previous definition implied that code would never keep running if a BUG occurred (which it does), and that BUG(x) might be true even if x was false (which it can't be). Closes ticket 26890. Bugfix on 0.3.1.4-alpha.
2018-07-20Tweak assertion in get_time_period_length() for coverityNick Mathewson
This is another attempt to fix 1437668. The assertion here should be safe, since the rules of networkstatus_get_param() keep the value it returns in range.