aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
...
* | | | Remove tor_malloc_roundup().Nick Mathewson2012-08-13
| |/ / |/| | | | | | | | | | | This function never actually did us any good, and it added a little complexity. See the changes file for more info.
* | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-07-18
|\| |
| * | Tweaks to 6400 changes file and docs as suggested by armaNick Mathewson2012-07-18
| | |
| * | Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/ENDNick Mathewson2012-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SMARTLIST_FOREACH macro is more convenient than BEGIN/END when you have a nice short loop body, but using it for long bodies makes your preprocessor tell the compiler that all the code is on the same line. That causes grief, since compiler warnings and debugger lines will all refer to that one line. So, here's a new style rule: SMARTLIST_FOREACH blocks need to be short.
* | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-07-06
|\| |
| * | Fix port range in parse_port_range().George Kadianakis2012-07-06
| | |
* | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-07-05
|\| |
| * | On windows, ENOBUFS starts with WSA. #6296. Fix on 0.2.18-rcNick Mathewson2012-07-05
| | |
* | | Fix clang warning on d4285f03df475dc. Not in any released tor.Nick Mathewson2012-06-29
| | |
* | | Merge commit '81cd3d7ad641a8dbf'Nick Mathewson2012-06-28
|\| |
| * | add a blurb for 0.2.3.18-rc, other minor cleanupsRoger Dingledine2012-06-28
| | |
* | | Extend tor_sscanf so it can replace sscanf in rephist.cNick Mathewson2012-06-28
| | | | | | | | | | | | Fixes bug 4195 and Coverity CID 448
* | | Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson2012-06-26
|\| |
| * | Fix a warning when using glibc's strcspn with clang.Nick Mathewson2012-06-26
| | | | | | | | | | | | | | | | | | | | | | | | With glibc 2.15 and clang 3.0, I get warnings from where we use the strcpsn implementation in the header as strcspn(string, "="). This is apparently because clang sees that part of the strcspn macro expands to "="[2], and doesn't realize that that part of the macro is only evaluated when "="[1] != 0.
| * | Fix a compilation warning with clang 3.0Nick Mathewson2012-06-26
| | | | | | | | | | | | | | | | | | | | | In b1ad1a1d0266a20bb we introduced an implicit (but safe) long-to-int shortening that clang didn't like. Warning not in any released version of Tor.
* | | Merge remote-tracking branch 'public/bug2385'Nick Mathewson2012-06-25
|\ \ \ | |/ / |/| |
| * | Clear a couple more fields in rend_service_load_auth_keysNick Mathewson2012-06-18
| | |
* | | Don't assert in get_string_from_pipe() on len==0Nick Mathewson2012-06-23
| | | | | | | | | | | | | | | | | | | | | We can treat this case as an EAGAIN (probably because of an unexpected internal NUL) rather than a crash-worthy problem. Fixes bug 6225, again. Bug not in any released version of Tor.
* | | Resolve crash caused by format_helper_exit_status changes in #5557Nick Mathewson2012-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Because the string output was no longer equal in length to HEX_ERRNO_SIZE, the write() call would add some extra spaces and maybe a NUL, and the NUL would trigger an assert in get_string_from_pipe. Fixes bug 6225; bug not in any released version of Tor.
* | | Style tweaks and add a warning about NUL-terminationNick Mathewson2012-06-22
| | |
* | | Refactor unsigned int hex formatting out of format_helper_exit_status() in ↵Andrea Shepard2012-06-22
| | | | | | | | | | | | util.c
* | | Make format_helper_exit_status() avoid unnecessary spacesAndrea Shepard2012-06-22
|/ /
* | fix a compiler warning added in one of my XXX023 fixes.Nick Mathewson2012-06-15
| |
* | Whitespace fixNick Mathewson2012-06-15
| |
* | Move tor_gettimeofday_cached() into compat_libeventNick Mathewson2012-06-15
| |
* | Refactor GETINFO process/descriptor-limitNick Mathewson2012-06-15
| | | | | | | | | | Previously it duplicated some getrlimit code and content from compat.c; now it doesn't.
* | Triage the XXX023 and XXX022 comments: postpone many.Nick Mathewson2012-06-15
| |
* | Change smartlist_create->smartlist_new in bug4744 branch as merged to masterNick Mathewson2012-06-13
| |
* | Merge branch 'bug4744_squashed'Nick Mathewson2012-06-13
|\ \
| * | Implement the client side of proposal 198Nick Mathewson2012-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a feature removal: we no longer fake any ciphersuite other than the not-really-standard SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA (0xfeff). This change will let servers rely on our actually supporting what we claim to support, and thereby let Tor migrate to better TLS ciphersuites. As a drawback, Tor instances that use old openssl versions and openssl builds with ciphers disabled will no longer give the "firefox" cipher list.
| * | Change our ciphersuite list to match ff8Nick Mathewson2012-05-15
| | |
| * | get_mozilla_ciphers: look at ssl3con.c, not sslenum.cNick Mathewson2012-03-14
| | |
| * | get_mozilla_ciphers: output lowercase hex.Nick Mathewson2012-03-14
| | |
| * | Try to make get_mozilla_ciphers output the right macros in the right orderNick Mathewson2012-03-14
| | |
| * | Have get_mozilla_ciphers take sourcedirs as argumentsNick Mathewson2012-03-14
| | |
| * | Make get_mozilla_ciphers script a little more regexy and readableNick Mathewson2012-03-14
| | |
| * | Script to generate ciphers.inc by ArturoNick Mathewson2012-03-14
| | |
* | | Fix another clang compile warningSebastian Hahn2012-06-13
| | | | | | | | | | | | We forgot this when we fixed 5969.
* | | Merge remote-tracking branch 'public/bug4592'Nick Mathewson2012-06-11
|\ \ \
| * | | Treat SW_SERVER_HELLO_B as another sign of an SSL handshakeNick Mathewson2012-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've been only treating SW_SERVER_HELLO_A as meaning that an SSL handshake was happening. But that's not right: if the initial attempt to write a ServerHello fails, we would get a callback in state SW_SERVER_HELLO_B instead. (That's "instead" and not "in addition": any failed attempt to write the hello will fail and cause the info callback not to get written.) Fix for bug 4592; bugfix on 0.2.0.13-alpha.
* | | | Merge branch 'bug6097'Nick Mathewson2012-06-11
|\ \ \ \
| * | | | Fix mingw build with -DUNICODE -D_UNICODENick Mathewson2012-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | This is a very blunt fix, and mostly just turns some func() calls into FuncA() to make things build again. Fixes bug 6097.
| * | | | Be more careful calling wcstombsNick Mathewson2012-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function is not guaranteed to NUL-terminate its output. It *is*, however, guaranteed not to generate more than two bytes per multibyte character (plus terminating nul), so the general approach I'm taking is to try to allocate enough space, AND to manually add a NUL at the end of each buffer just in case I screwed up the "enough space" thing. Fixes bug 5909.
* | | | | typo noticed by "_raptor"Roger Dingledine2012-06-07
|/ / / /
* | | | Merge remote-tracking branch 'public/getfilesize_64'Nick Mathewson2012-06-05
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/common/compat.c The getfilesize change conflicted with the removal of file_handle from the windows tor_mmap_t.
| * | | | Use GetFileSize correctly on win32Nick Mathewson2012-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | (Use its second parameter to find the high 32 bits of the file size; check its return value for error conditions.)
* | | | | Fix some mingw build warningsNick Mathewson2012-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These include: - Having a weird in_addr that can't be initialized with {0} - Needing INVALID_HANDLE_VALUE instead of -1 for file handles. - Having a weird dependent definition for struct stat. - pid is signed, not unsigned.
* | | | | Merge remote-tracking branch 'public/bug3894'Nick Mathewson2012-06-05
|\ \ \ \ \
| * | | | | Fix some more FreeBSD4 issues (based on a patch from grarpamp)Nick Mathewson2012-05-16
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently, freebsd 4 doesn't like malloc.h, needs sys/param.h for MIN/MAX, and doesn't have a SIZE_MAX. For bug 3894.
* | | | | Fix "make check-spaces" issuesNick Mathewson2012-06-05
| | | | |