Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-29 | Remove support for unsigned time_t | Nick Mathewson | |
We've never actually tested this support, and we should probably assume it's broken. To the best of my knowledge, only OpenVMS has this, and even on OpenVMS it's a compile-time option to disable it. And I don't think we build on openvms anyway. (Everybody else seems to be working around the 2038 problem by using a 64-bit time_t, which won't expire for roughly 292 billion years.) Closes ticket 18184. | |||
2016-01-27 | Correct further grammatical errors in tor comments | Nick Mathewson | |
Avoid using a pronoun where it makes comments unclear. Avoid using gender for things that don't have it. Avoid assigning gender to people unnecessarily. | |||
2016-01-19 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2016-01-19 | Merge branch 'maint-0.2.6' into maint-0.2.7 | Nick Mathewson | |
2016-01-19 | Refine the memwipe() arguments check for 18089 a little more. | Nick Mathewson | |
We still silently ignore memwipe(NULL, ch, 0); and memwipe(ptr, ch, 0); /* for ptr != NULL */ But we now assert on: memwipe(NULL, ch, 30); | |||
2016-01-18 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2016-01-18 | Merge branch 'maint-0.2.6' into maint-0.2.7 | Nick Mathewson | |
2016-01-18 | Make memwipe() do nothing when passed a NULL pointer or zero size | teor (Tim Wilson-Brown) | |
Check size argument to memwipe() for underflow. Closes bug #18089. Reported by "gk", patch by "teor". Bugfix on 0.2.3.25 and 0.2.4.6-alpha (#7352), commit 49dd5ef3 on 7 Nov 2012. | |||
2016-01-15 | Whitespace cleanup | Nick Mathewson | |
2016-01-13 | Revert my addition of callback cleaner and instead use existing ↵ | Ola Bini | |
functionality for temporary log files | |||
2016-01-13 | Remove a small memory leak in log callback setup | Ola Bini | |
2016-01-13 | Add tests for options_act | Ola Bini | |
2016-01-11 | Try a little harder to only use SecureZeroMemory when it's present | Nick Mathewson | |
We could be using AC_CHECK_FUNC_DECL too, but it shouldn't be needed. | |||
2016-01-11 | Merge remote-tracking branch 'rl1987/feature17950' | Nick Mathewson | |
2016-01-09 | Re-add the removed address family check. | rl1987 | |
2016-01-08 | Merge commit '110765f5564a588c5f019d32b5e6f66cc7806c41' | Nick Mathewson | |
2016-01-08 | Merge remote-tracking branch 'public/feature16794_more' | Nick Mathewson | |
2016-01-08 | Simplify micro-revision dependency rules | cypherpunks | |
The Automake variable OBJEXT is automatically adjusted to the correct object file extension for the target platform. | |||
2016-01-07 | On win32, use SecureZeroMemory() to securely wipe buffers. | rl1987 | |
{Also tweak the comments. -nickm) | |||
2016-01-07 | Use memset_s or explicit_bzero when available. | Nick Mathewson | |
2016-01-07 | Merge remote-tracking branch 'teor/comments-20151213' | Nick Mathewson | |
2016-01-07 | Compatibility defines should be used for LibreSSL. | dana koch | |
LibreSSL doesn't use OpenSSL_version (it uses the older SSLeay_version API), but it reports a major version number as 2 in OPENSSL_VERSION_NUMBER. Instead of fudging the version check, for now, let's just check if we're using LibreSSL by checking the version number macro exists, and use compatibility defines unconditionally when we detect LibreSSL. | |||
2016-01-07 | Merge remote-tracking branch 'public/17826_redux' | Nick Mathewson | |
2016-01-06 | Use get_interface6_via_udp_socket_hack() properly in _list(). | rl1987 | |
When _list() is called with AF_UNSPEC family and fails to enumerate network interfaces using platform specific API, have it call _hack() twice to find out IPv4 and/or IPv6 address of a machine Tor instance is running on. This is correct way to handle this case because _hack() can only be called with AF_INET and AF_INET6 and does not support any other address family. | |||
2016-01-06 | Tweak ioctl case. | rl1987 | |
2016-01-03 | Add family argument to get_interface_addresses_raw (and subfunctions). | rl1987 | |
2016-01-03 | Fix a typo in the comment for tor_addr_port_split | teor (Tim Wilson-Brown) | |
2015-12-29 | Merge branch 'feature17796_squashed' | Nick Mathewson | |
2015-12-29 | Remove the (now-unused) digest_algorithm_bitfield_t | Nick Mathewson | |
2015-12-29 | When allocating a crypto_digest_t, allocate no more bytes than needed | Nick Mathewson | |
Previously we would allocate as many bytes as we'd need for a keccak--even when we were only calculating SHA1. Closes ticket 17796. | |||
2015-12-29 | Use timingsafe_memcmp() where available. | Nick Mathewson | |
See ticket 17944; patch from "logan". | |||
2015-12-26 | Mark all object files built based on micro-revision.i as depending on it | Nick Mathewson | |
Fixes make -j for some users; fixes bug 17826. Bugfix on 0.2.5.1, when we started building testing versions of all the object files. | |||
2015-12-23 | Disable the dynlock functions we were giving openssl. | Nick Mathewson | |
OpenSSL doesn't use them, and fwict they were never called. If some version of openssl *does* start using them, we should test them before we turn them back on. See ticket 17926 | |||
2015-12-23 | Unit tests for crypto_force_rand_ssleay(). | Nick Mathewson | |
Part of 16794. | |||
2015-12-23 | Always test both ed25519 backends. | Nick Mathewson | |
Part of #16794 | |||
2015-12-22 | Add an unreachable line to make the compiler happy | Nick Mathewson | |
2015-12-20 | Appease "make check-spaces" | Nick Mathewson | |
2015-12-20 | Merge remote-tracking branch 'yawning/feature17783_take2' | Nick Mathewson | |
2015-12-19 | Add `crypto_xof_t` and assorted routines, backed by SHAKE256. | Yawning Angel | |
This is an eXtendable-Output Function with the following claimed security strengths against *all* adversaries: Collision: min(d/2, 256) Preimage: >= min(d, 256) 2nd Preimage: min(d, 256) where d is the amount of output used, in bits. | |||
2015-12-19 | Add the SHA-3 hash functions to common/crypto.h. | Yawning Angel | |
* DIGEST_SHA3_[256,512] added as supported algorithms, which do exactly what is said on the tin. * test/bench now benchmarks all of the supported digest algorithms, so it's possible to see just how slow SHA-3 is, though the message sizes could probably use tweaking since this is very dependent on the message size vs the SHA-3 rate. | |||
2015-12-18 | mark a variable unused to fix a warning. | Nick Mathewson | |
2015-12-18 | Remove an extra space in backtrace version string | cypherpunks | |
2015-12-18 | Move some more code inside a tortls.c ifdef to fix deadcode warning. | Nick Mathewson | |
2015-12-18 | Fix a coverity NULL-pointer deref warning in the tortls tests. | Nick Mathewson | |
Also, make our cert validation code more NULL-resistant. This is CID 1327891. | |||
2015-12-18 | Fix some dead code in tortls.c | Nick Mathewson | |
If SSL_CIPHER_find exists, then we won't use either of the two kludges that would replace it. Found by Coverity; fixes CID 1340256. | |||
2015-12-17 | Improve warning message | cypherpunks | |
The user parameter is not checked so we do not know the user has been specified. | |||
2015-12-16 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2015-12-16 | Don't call pthread_condattr_setclock() unless it exists | Nick Mathewson | |
Fixes bug 17819; bugfix on 0.2.6.3-alpha (specifically, d684dbb0). | |||
2015-12-16 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
2015-12-16 | ... and fix another backtrace_symbols_fd call in sandbox.c | Nick Mathewson | |