Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-30 | Fix various typos | Nick Mathewson | |
2018-05-24 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-05-22 | Add a missing include to get the declaration of OPENSSL_1_1_API | Nick Mathewson | |
Apparently, even though I had tested on OpenSSL 1.1.1 with no-deprecated, OpenSSL 1.1.0 is different enough that I should have tested with that as well. Fixes bug 26156; bugfix on 0.3.4.1-alpha where we first declared support for this configuration. | |||
2018-05-16 | Merge branch 'bug26116_029' into bug26116_033 | Nick Mathewson | |
2018-05-16 | Return -1 from our PEM password callback | Nick Mathewson | |
Apparently, contrary to its documentation, this is how OpenSSL now wants us to report an error. Fixes bug 26116; bugfix on 0.2.5.16. | |||
2018-05-11 | Properly ignore retval of event_del(). | George Kadianakis | |
Fixes #26078: CID 1435546. | |||
2018-05-10 | Remove a workaround for ancient libevent versions. | Nick Mathewson | |
Libevent has accepted a const timeval argument to event_add() for a very long time now. | |||
2018-05-10 | Add functions to enable/disable periodic_event_t objects. | Nick Mathewson | |
2018-05-09 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-05-09 | Merge remote-tracking branch 'public/bug26005_034' | Nick Mathewson | |
2018-05-08 | rust: Add crypto crate and implement Rust wrappers for SHA2 code. | Isis Lovecruft | |
* FIXES #24659: https://bugs.torproject.org/24659 | |||
2018-05-07 | Restore sys/random.h inclusion for getentropy() | Taylor Yu | |
Code movement for the refactoring for ticket 24658 didn't copy the inclusion of sys/random.h, which is needed to get a prototype for getentropy() on macOS 10.12 Sierra. It also didn't copy the inclusion of sys/syscall.h, which might prevent the getrandom() syscall from being properly detected. Move these inclusions. Bug not in any released Tor. | |||
2018-05-03 | Move some includes around to try to fix windows builds | Nick Mathewson | |
2018-05-03 | Merge remote-tracking branch 'isis/bug24660_r1' | Nick Mathewson | |
2018-05-03 | Use OPENSSL_1_1_API in place of raw OPENSSL_VERSION_NUMBER checks | Nick Mathewson | |
This is needed for libressl-2.6.4 compatibility, which we broke when we merged a15b2c57e1f901c53 to fix bug 19981. Fixes bug 26005; bug not in any released Tor. | |||
2018-05-03 | Merge remote-tracking branch 'github/ticket25951' | Nick Mathewson | |
2018-05-02 | Merge branch 'libressl_201805_029' into maint-0.3.3 | Nick Mathewson | |
2018-05-02 | LibreSSL compatibility fixes. | Nick Mathewson | |
LibreSSL, despite not having the OpenSSL 1.1 API, does define OPENSSL_VERSION in crypto.h. Additionally, it apparently annotates some functions as returning NULL, so that our unit tests need to be more careful about checking for NULL so they don't get compilation warnings. Closes ticket 26006. | |||
2018-05-02 | Bug 26000: Fix missing ";" | Georg Koppen | |
2018-05-01 | Merge remote-tracking branch 'github/eliminate_gettimeofday_cached' | Nick Mathewson | |
2018-05-01 | Add a mechanism for the logging system to report queued callbacks | Nick Mathewson | |
Sometimes the logging system will queue a log message for later. When it does this, the callback will either get flushed at the next safe time, or from the second-elapsed callback. But we're trying to eliminate the second-elapsed callback, so let's make a way for the log system to tell its users about this. | |||
2018-04-30 | Merge remote-tracking branch 'github/ticket19429_034' | Nick Mathewson | |
2018-04-27 | Move stdbool include to torint.h | Nick Mathewson | |
It's friday, and this seems like a good idea, and they're egging me on in IRC. | |||
2018-04-27 | Only define X509_get_not{BeforeAfter} if they are not defined | Nick Mathewson | |
(The originally submitted version of a15b2c57e1f901c531 broke with OpenSSL 1.1.0.) | |||
2018-04-26 | Add a function to compute millisecond time difference quickly. | Nick Mathewson | |
Our main function, though accurate on all platforms, can be very slow on 32-bit hosts. This one is faster on all 32-bit hosts, and accurate everywhere except apple, where it will typically be off by 1%. But since 32-bit apple is a relic anyway, I think we should be fine. | |||
2018-04-26 | Remove the "cached gettimeofday" logic. | Nick Mathewson | |
Previously were using this value to have a cheap highish-resolution timer. But we were only using it in one place, and current dogma is to use monotime_coarse_t for this kind of thing. | |||
2018-04-23 | Merge remote-tracking branch 'github/lazy_bucket_refill' | Nick Mathewson | |
2018-04-23 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-04-23 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-04-23 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-04-23 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-04-23 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-04-23 | Permit the nanosleep system call in the seccomp2 callbox | Nick Mathewson | |
Fixes bug 24969; bugfix on 0.2.5.1-alpha when the sandbox was introduced. | |||
2018-04-23 | Merge remote-tracking branch 'neel/b25511-r4' | Nick Mathewson | |
2018-04-22 | Merge branch 'ticket25024_squashed' | Nick Mathewson | |
2018-04-22 | add changes file and update check-typos in makefile | Deepesh Pathak | |
2018-04-22 | Merge remote-tracking branch 'mikeperry/bug25400_squashed' | Nick Mathewson | |
2018-04-18 | crypto: Move declaration of crypto_init_siphash_key() into crypto.h. | Isis Lovecruft | |
On second thought, this is a global initialisation function and doesn't conceptually have much to do with getting/using randomnesses. | |||
2018-04-18 | Add support for openssl built with "no-deprecated". | Nick Mathewson | |
Patch from Andrew John Hughes; partial fix for 19981. | |||
2018-04-17 | Amend token_bucket_rw_dec to indicate which buckets became empty. | Nick Mathewson | |
2018-04-17 | token bucket: Add parens to rate_per_sec_to_rate_per_step() | Nick Mathewson | |
Typecasts bind more tightly than division, so we need to do the division first. | |||
2018-04-17 | Merge remote-tracking branch 'public/bug24688' | Nick Mathewson | |
2018-04-16 | Make tor_gettimeofday() mockable | Neel Chauhan | |
2018-04-16 | Add format_local_iso_time_nospace() | Neel Chauhan | |
2018-04-16 | Helper function to add u32 without overflow. | Mike Perry | |
2018-04-16 | token: Fix uint32_t to uint64_t conversion | David Goulet | |
Unfortunately, the units passed to monotime_coarse_stamp_units_to_approx_msec() was always 0 due to a type conversion. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-04-16 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-04-16 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-04-16 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-04-16 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |