aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAge
* Fix bug in stream position adjustmentNick Mathewson2004-05-06
| | | | svn:r1801
* Use correct aes-ctr implementation in mainline, too.Nick Mathewson2004-05-06
| | | | svn:r1800
* Add intptr_t and uintptr_t to torint.hNick Mathewson2004-05-05
| | | | svn:r1794
* Make non-fake tor_poll robust against -1 fdsNick Mathewson2004-05-05
| | | | svn:r1787
* Fix mac compileNick Mathewson2004-05-04
| | | | svn:r1782
* tor_assert(), not assert()Nick Mathewson2004-05-02
| | | | svn:r1777
* Fix windows compile.Nick Mathewson2004-05-02
| | | | svn:r1776
* Working strerror for windows socket errors, plus some snide comments.Nick Mathewson2004-05-02
| | | | svn:r1775
* Assert that we never try to fakepoll on sock -1.Nick Mathewson2004-05-02
| | | | svn:r1774
* some patches on the patchesRoger Dingledine2004-05-01
| | | | svn:r1761
* Remove bogus */ so util.c compilesNick Mathewson2004-05-01
| | | | svn:r1759
* Finish documenting the functions in commonNick Mathewson2004-05-01
| | | | svn:r1758
* Handle windows socket errors correctly; comment most of common.Nick Mathewson2004-05-01
| | | | svn:r1756
* some cosmetic fixesRoger Dingledine2004-04-29
| | | | svn:r1747
* Oops -- the Windows function is closesocket, not socketcloseNick Mathewson2004-04-28
| | | | svn:r1746
* Use socketclose on windows as appropriate; end pid files with newlineNick Mathewson2004-04-28
| | | | svn:r1745
* Remove IVs from cipher code, since AES-ctr has none.Nick Mathewson2004-04-28
| | | | svn:r1742
* use nick's _ARRAYSIZE abstractionRoger Dingledine2004-04-28
| | | | svn:r1741
* nick, is this what you meant?Roger Dingledine2004-04-28
| | | | svn:r1740
* Make Tor build on win32 with VC6 without warnings.Nick Mathewson2004-04-28
| | | | svn:r1739
* Workarounds for a couple of pieces of windows strangeness.Nick Mathewson2004-04-28
| | | | svn:r1734
* some compilers don't like an array of length zeroRoger Dingledine2004-04-27
| | | | | | | | nick: should we remove support for IVs for now, since we don't use them and don't plan to use them? svn:r1732
* Some versions of openssl have an SSL_pending function that erroneouslyNick Mathewson2004-04-26
| | | | | | | | | | returns bytes when there is a non-application record pending. I have no idea when/why this would even happen, but let's catch it and make sure tor_tls_get_pending_bytes stays correct. svn:r1727
* Remove spurious semiNick Mathewson2004-04-26
| | | | svn:r1724
* Add a macro to catch unhandled openssl errors.Nick Mathewson2004-04-26
| | | | svn:r1723
* log debug so nick can see it tooRoger Dingledine2004-04-26
| | | | svn:r1721
* The dots are there so you see test doing something. Therefore we should ↵Peter Palfrader2004-04-26
| | | | | | flush them after printing svn:r1720
* Include strerror(errno) with tls syscall errorsNick Mathewson2004-04-26
| | | | svn:r1718
* Refactor crypto error handling to be more like TLS error handling:Nick Mathewson2004-04-26
| | | | | | | | | | | | | crypto_perror is a no-no, since an operation can set more than one error. Also, fix a bug in the unix crypto_seed_rng: mixing stdio with /dev/urandom is a bad idea, since fopen can make all kinds of weird extraneous syscalls (mmap, fcntl, stat64, etc.) and since fread tends to buffer data in big chunks, thus depleting the entropy pool. svn:r1717
* Log pending TLS errors in a couple more places, in case they are possible.Nick Mathewson2004-04-26
| | | | svn:r1716
* Call tls_log_errors at a more appropriate location; we can remove the other ↵Nick Mathewson2004-04-26
| | | | | | calls in tor_tls_verify once we are sure they never happen. svn:r1709
* Very blunt debugging code: log pending errors at start and end of tor_tls_verifyNick Mathewson2004-04-26
| | | | svn:r1707
* Check for machine/limits.h in addition to sys/limits.hNick Mathewson2004-04-25
| | | | svn:r1705
* use tor_assert and PUBLIC_KEY_OKRoger Dingledine2004-04-25
| | | | | | | but don't use tor_assert inside log.c, to avoid loops svn:r1696
* Add a tor_assert macro that logs failed assertions.Nick Mathewson2004-04-25
| | | | svn:r1695
* Add assert on crypto_pk_write_private_key,and macros to make sure we have ↵Nick Mathewson2004-04-25
| | | | | | real keys svn:r1694
* don't warn when private_decrypt_hybrid failsRoger Dingledine2004-04-25
| | | | svn:r1689
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683
* use the real socketpair if we've got itRoger Dingledine2004-04-19
| | | | | | | now it's just windows that has to use the kludged one svn:r1675
* util.c uses LONG_MAX, needs another include on fbsd 5.xRoger Dingledine2004-04-17
| | | | svn:r1653
* quiet a -l info that should be -l debugRoger Dingledine2004-04-15
| | | | svn:r1634
* Fix two dumb leaks in crypto.cNick Mathewson2004-04-12
| | | | svn:r1592
* Fix base32 implementation; make base32 implementation follow standard; add ↵Nick Mathewson2004-04-08
| | | | | | more tests for base32 svn:r1574
* Force tor_malloc(0) to always be saneNick Mathewson2004-04-08
| | | | svn:r1558
* allow 90 minutes of clock skew, not 30Roger Dingledine2004-04-08
| | | | svn:r1544
* Don't use Tor version 0.0.5 for intro/rendezvous points. (We don't needNick Mathewson2004-04-07
| | | | | | | to worry about 0.0.4 or earlier, because nobody is running them any more.) svn:r1533
* Delete trailing whitespace and expand tabs; remove unused aes decrypt codeNick Mathewson2004-04-07
| | | | svn:r1522
* Put ourself in router list; act accordingly.Nick Mathewson2004-04-07
| | | | svn:r1521
* Set correct address and port mappings on outgoing rendezvous connectionsNick Mathewson2004-04-06
| | | | svn:r1513
* router_choose_random_node wants a smartlist of routers, not of nicknames.Nick Mathewson2004-04-06
| | | | svn:r1510