summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-12Fix #9043 - simplyfy the code and use EVP_PKEY_cmp instead of pkey_eq / ↵Marek Majkowski
tor_tls_evp_pkey_eq
2013-06-12Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-06-12Revert "Use the FILE_SHARE_DELETE flag for CreateFile on a mapping"Nick Mathewson
This reverts commit 884a0e269c382f9e927d8c8b1ef4ef9d2d48379d. I'm reverting this because it doesn't actually make the problem go away. It appears that instead we need to do unmap-then-replace.
2013-06-12Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-06-12Merge remote-tracking branch 'public/bug2077_share_delete' into maint-0.2.4Nick Mathewson
2013-06-12Use the FILE_SHARE_DELETE flag for CreateFile on a mappingNick Mathewson
A comment by rransom on #8795 taken together with a comment by doorss recorded on #2077 suggest that *every* attempt to replace the md cache will fail on Vista/Win7 if we don't have the FILE_SHARE_DELETE flag passed to CreateFile, and if we try to replace the file ourselves before unmapping it. I'm adding the FILE_SHARE_DELETE, since that's this simplest fix. Broken indexers (the favored #2077 hypothesis) could still cause trouble here, but at least this patch should make us stop stepping on our own feet. Likely fix for #2077 and its numerous duplicates. Bugfix on 0.2.2.6-alpha, which first had a microdescriptor cache that would get replaced before remapping it.
2013-06-12Expand microdesc cache testsNick Mathewson
Is it possible that *every* attempt to replace the microdesc cache on windows 7 is going to fail because of our lack of FILE_SHARE_DELETE while opening the file? If so, this test will catch #2077 and let us know when it's fixed.
2013-06-12Use double-quotes for regular_mans, not brackets.dana koch
This is a bashism; on systems where sh is not bash (eg., non-Linux, or Ubuntu using dash), this breaks with a syntax error. This also doesn't work properly in bash: only the first item is iterated on.
2013-06-10Fix tor-fw-helper exit code.Arlo Breault
It's returning the number of initialized backends. (changes file added by nickm; this is a fix for bug #9030)
2013-06-10Fix "make check-spaces"Nick Mathewson
2013-06-10Make OPENSSL_free(dh_string_repr) conditional.Nick Mathewson
2013-06-10Merge remote-tracking branch 'majek/bug5170'Nick Mathewson
2013-06-10Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-06-10Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
2013-06-10Merge branch 'bug9017' into maint-0.2.3Nick Mathewson
2013-06-10Fix (Open?)BSD fast-connect bug with optimistic data.Nick Mathewson
There's an assertion failure that can occur if a connection has optimistic data waiting, and then the connect() call returns 0 on the first attempt (rather than -1 and EINPROGRESS). That latter behavior from connect() appears to be an (Open?)BSDism when dealing with remote addresses in some cases. (At least, I've only seen it reported with the BSDs under libevent, even when the address was 127.0.0.1. And we've only seen this problem in Tor with OpenBSD.) Fixes bug 9017; bugfix on 0.2.3.1-alpha, which first introduced optimistic data. (Although you could also argue that the commented-out connection_start_writing in 155c9b80 back in 2002 is the real source of the issue.)
2013-06-10Bug #5170 - make pkey_eq testable, introduce test_tortls.cMarek Majkowski
2013-06-10Bug #5170 - test crypto_pk_get_all_digestsMarek Majkowski
2013-06-06Bug 5170 - simplify i2d_PublicKey in pkey_eqMarek Majkowski
2013-06-06Bug #5170 - simplify i2d_X509Marek Majkowski
2013-06-06Bug #5170 - also simplify i2d_DHparamsMarek Majkowski
2013-06-06Bug #5170 - i2d_RSAPublicKey supports allocating its own output bufferMarek Majkowski
2013-06-06Bug #5170 - remove id_to_fp.c as it's not used anywhereMarek Majkowski
2013-06-05Merge remote-tracking branch 'karsten/geoip-manual-update-jun2013'Nick Mathewson
2013-06-05Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-06-05Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
2013-06-05Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson
2013-06-05Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson
2013-06-05Fix two cut'n'paste docu bugs.Linus Nordberg
2013-06-05Update to the June 2013 GeoIP database.Karsten Loesing
2013-06-05Remove 9 now unused manual A1 substitutions.Karsten Loesing
2013-05-29Fix windows compilation warning in test_config.cNick Mathewson
bugfix on 78cc5833a1da038331186ddf07f4add7f8f1094b; bug not in any released Tor. Spotted by weasel using Jenkins.
2013-05-28Start correctly when not in testing mode.Nick Mathewson
You can't use != to compare arbitary members of or_options_t. (Also, generate a better error message to say which Testing* option was set.) Fix for bug 8992. Bugfix on b0d4ca49. Bug not in any released Tor.
2013-05-28Merge remote-tracking branch 'karsten/task-6752-3'Nick Mathewson
2013-05-25Try harder to document default_options correctly.Karsten Loesing
2013-05-24double-quotes and changes file for 6506.Nick Mathewson
2013-05-24Fix out-of-tree builds.Arlo Breault
See #6506
2013-05-24Config check for asciidoc and generated manpages.Arlo Breault
If USE_ASCIIDOC is enabled but asciidoc isn't present and manpages aren't already generated, it'll throw a warning during configure. Works with the current git / tarball split. Caveat: regular_mans are listed in the configure.ac See #6506
2013-05-24Merge branch 'bug4282_rebased'Nick Mathewson
2013-05-24changes file for 4282Nick Mathewson
2013-05-24Reformat 4282 fixes a littleNick Mathewson
2013-05-24Fix a logic error in 4282 fixesNick Mathewson
check_or_create_data_subdir has succeeded when it returns 0, not when it returns negative.
2013-05-24Tweak 4282 unit tests for style, safety, correctness.Nick Mathewson
We do our filesystem wrangling relative to get_fname() results, so that if we fail or crash, we can always clean up.
2013-05-24Unit tests for check_or_create_data_subdir and write_to_data_subdir.Peter Retzlaff
2013-05-24Extract duplicate code in geoip and rephist.Peter Retzlaff
Create new methods check_or_create_data_subdir() and write_to_data_subdir() in config.c and use them throughout rephist.c and geoip.c. This should solve ticket #4282.
2013-05-24Tweak fix for #8789 a bit; avoid double-close and add changes fileNick Mathewson
2013-05-24Close socket at err target.Arlo Breault
In connection_listener_new(). See #8789.
2013-05-24Tweak #6752 patch based on comments by nickm.Karsten Loesing
2013-05-21Restore 8093 log messages to WARN severity, but rate limitNick Mathewson
See #8093 for discussion
2013-05-21Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson