Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-25 | Test vectors for PBKDF2 from RFC6070 | Nick Mathewson | |
2014-09-25 | Test vectors for scrypt from draft-josefsson-scrypt-kdf-00 | Nick Mathewson | |
2014-09-25 | Rudimentary-but-sufficient passphrase-encrypted box code. | Nick Mathewson | |
See crypto_pwbox.c for a description of the file format. There are tests for successful operation, but it still needs error-case tests. | |||
2014-09-25 | More generic passphrase hashing code, including scrypt support | Nick Mathewson | |
Uses libscrypt when found; otherwise, we don't have scrypt and we only support openpgp rfc2440 s2k hashing, or pbkdf2. Includes documentation and unit tests; coverage around 95%. Remaining uncovered code is sanity-checks that shouldn't be reachable fwict. | |||
2014-08-28 | Rename secret_to_key to secret_to_key_rfc2440 | Nick Mathewson | |
2014-08-27 | Initialize crash handler in unit tests | Nick Mathewson | |
This way, we don't get locking failures when we hit an assertion in the unit tests. Also, we might find out about unit test bugs from folks who can't do gdb. | |||
2014-08-26 | Merge remote-tracking branch 'public/bug10163' | Nick Mathewson | |
2014-08-24 | Use the ARRAY_LENGTH macro more consistently. | Nick Mathewson | |
2014-08-21 | Fix memory leaks in test_entrynodes.c | Nick Mathewson | |
[Coverity CID 1232087 and 1232088] | |||
2014-08-20 | Merge branch 'bug12205_take2_squashed' | Nick Mathewson | |
2014-08-20 | Whitespace fixes | Nick Mathewson | |
2014-08-20 | Small cleanups to test_entry_is_time_to_retry | Nick Mathewson | |
2014-08-20 | Unit testing entry_is_time_to_retry(). | rl1987 | |
2014-08-20 | Merge branch 'bug10116_squashed' | Nick Mathewson | |
2014-08-20 | fix remaining compilation problems | Nick Mathewson | |
2014-08-20 | Fix entrynodes test fails because of outdated test vectors. | George Kadianakis | |
2014-08-15 | Remove implementation code for all pre-13 consensus methods. | Nick Mathewson | |
Also remove a test for the way that we generated parameter votes before consensus method 12. | |||
2014-08-15 | Merge remote-tracking branch 'origin/maint-0.2.5' | Nick Mathewson | |
2014-08-15 | Remove stale printfs from buffer/zlib_fin_at_chunk_end test | Nick Mathewson | |
These got committed by mistake. | |||
2014-08-13 | Merge remote-tracking branch 'origin/maint-0.2.5' | Nick Mathewson | |
2014-08-13 | Apply an MSVC compilation fix from Gisle Vanem | Nick Mathewson | |
This fixes a double-define introduced in 28538069b2f1909a7600ec6d | |||
2014-08-13 | Apply coccinelle script to replace malloc(a*b)->calloc(a,b) | Nick Mathewson | |
2014-07-28 | Cast long long arguments to (int) for tt_int_op() | Peter Palfrader | |
2014-07-21 | Merge remote-tracking branch 'origin/maint-0.2.5' | Nick Mathewson | |
2014-07-21 | Fix warning on building with bufferevents | Sathyanarayanan Gunasekaran | |
Fixes #11578 | |||
2014-07-16 | Move test_descriptors.txt to an include file | Nick Mathewson | |
Making the text file work out-of-tree didn't work on windows. Maybe we can get it working that way later. | |||
2014-07-16 | Fix tests when building out-of-tree | Nick Mathewson | |
(This was too hard. Silly autoconf.) | |||
2014-07-16 | Fix wide lines, make entry_is_live() non-inline | Nick Mathewson | |
2014-07-16 | Merge remote-tracking branch 'asn/bug12202' | Nick Mathewson | |
2014-07-16 | Merge remote-tracking branch 'asn/bug12207_second_draft' | Nick Mathewson | |
2014-07-16 | Add a tor_ftruncate to replace ftruncate. | Nick Mathewson | |
(Windows doesn't have ftruncate, and some ftruncates do not move the file pointer to the start of the file.) | |||
2014-07-16 | Add an option to overwrite logs | Arlo Breault | |
* Issue #5583 | |||
2014-07-16 | When making a tempdir for windows unit tests, avoid an extra backslash | Nick Mathewson | |
The extra \ is harmless, but mildly unpleasant. Fixes 12392; bugfix on 0.2.2.25-alpha where we started using GetTempDir(). Based on a patch by Gisle Vanem. | |||
2014-07-16 | Fixed fgets_eagain unit test. | cypherpunks | |
On a non-blocking pipe fgets sets EAGAIN when it encounters partial lines. No error is set on full lines or EOF. EOF is reached when the writing end of the pipe is closed. Partial lines and full lines are both returned by fgets, EOF results in NULL. Mention of this behaviour can be found in #1903 and #2045. | |||
2014-07-09 | Change interface of router_descriptor_is_too_old(). | George Kadianakis | |
2014-06-25 | Change the interface of entry_is_live() to take a bitmap. | George Kadianakis | |
2014-06-25 | Basic entry_is_live() unittest. | George Kadianakis | |
2014-06-24 | Add the entrynodes.c unit tests. | George Kadianakis | |
2014-06-20 | Thread support is now required | Nick Mathewson | |
Long ago we supported systems where there was no support for threads, or where the threading library was broken. We shouldn't have do that any more: on every OS that matters, threads exist, and the OS supports running threads across multiple CPUs. This resolves tickets 9495 and 12439. It's a prerequisite to making our workqueue code work better, since sensible workqueue implementations don't split across multiple processes. | |||
2014-06-20 | Remove code for Windows CE support | Nick Mathewson | |
As far as I know, nobody has used this in ages. It would be a pretty big surprise if it had worked. Closes ticket 11446. | |||
2014-06-15 | Add some test descriptors to src/test/. | George Kadianakis | |
2014-06-14 | Merge branch 'bug8746_v2_squashed' | Nick Mathewson | |
Conflicts: src/common/include.am | |||
2014-06-14 | refactor win/nix handling for test_spawn_background*() | Nick Mathewson | |
Instead of having a #if ... for every function, just define TEST_CHILD to the right patch and EOL to the expected line terminator. | |||
2014-06-14 | More unit tests for process spawning | Nick Mathewson | |
Try killing a running process; try noticing that a process has exited without checking its output; verify that waitpid_cb (when present) is set to NULL when you would expect it to be. | |||
2014-05-22 | Merge remote-tracking branch 'andrea/bug11476' | Nick Mathewson | |
2014-05-12 | Add --disable-mempools configure option | Andrea Shepard | |
2014-05-11 | fix whitespace | Nick Mathewson | |
2014-05-11 | Quench clang's complaints with -Wshorten-64-to-32 when time_t is not long. | dana koch | |
On OpenBSD 5.4, time_t is a 32-bit integer. These instances contain implicit treatment of long and time_t as comparable types, so explicitly cast to time_t. | |||
2014-05-08 | One more 64->32 | Nick Mathewson | |
2014-05-08 | Fix numerous 64->32 errors in the unit tests | Nick Mathewson | |
Before the 11825 fix, these were all silently ignored. |