Roger Dingledine
|
918ce7a084
a few more ints to size_ts
|
21 years ago |
Roger Dingledine
|
a7d858bd6e
start the great migration from int to size_t
|
21 years ago |
Roger Dingledine
|
1c757b917d
fix signed/unsigned comparison, plus typo
|
21 years ago |
Nick Mathewson
|
6c970aec94
Turn tor_strpartion into a swiss-army-knife function, so it can terminate or not-terminate appropriately.
|
21 years ago |
Nick Mathewson
|
7b98fb58eb
More complete docs for crypto.c; factor out string partitioning code
|
21 years ago |
Nick Mathewson
|
ce3162d035
Make base-64-encoded DER work, including workaround for ugly openssl misfeature that makes base64 decoding fail when you strip out the newlines.
|
21 years ago |
Nick Mathewson
|
8cca36d26a
Implement (temporarily) a base64-encoded-DER format for RSA keys; make it easier to generate fingerprints with no space
|
21 years ago |
Nick Mathewson
|
93f085c4a2
Stop using openssl functions that rely on stdio; they can apparently lead to linker grief on win32.
|
21 years ago |
Nick Mathewson
|
0ef85f6dba
Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware.
|
21 years ago |
Roger Dingledine
|
d91cacb839
agree with nick: this legal-chars-in-filename stuff gets us nothing
|
21 years ago |
Nick Mathewson
|
015232bd39
As far as I can tell, CONFIG_LEGAL_FILENAME_CHARACTERS is both pointless and broken. #if it out, pending agreement from arma. This fixes a bug on win32 that rejected paths with a : in them.
|
21 years ago |
Nick Mathewson
|
7119345fbb
Fix base16_decode; trashing the stack is rude.
|
21 years ago |
Roger Dingledine
|
7459d067a5
now base16_encode() and base32_encode() can't ever fail
|
21 years ago |
Roger Dingledine
|
156cfb00fa
oh, and it should compile too
|
21 years ago |
Roger Dingledine
|
6e571c8c4c
make base16_encode() fail more obviously when it fails
|
21 years ago |
Nick Mathewson
|
7d8de8cd10
More digest/nickname fixes
|
21 years ago |
Nick Mathewson
|
541add90a1
Track routers by hash of identity key; use hex hash of identity key in place of nickname; accept (and use) hash of identity key in EXTEND cells.
|
21 years ago |
Roger Dingledine
|
8ca162c472
put a comment reminding us that we do hashes in software only
|
21 years ago |
Roger Dingledine
|
6dc576bab7
bugfix: our integrity-checking digest was checking only the most
|
21 years ago |
Nick Mathewson
|
9c3fba5c3b
Not every RSA decrypt should warn on failure.
|
21 years ago |
Roger Dingledine
|
3cdf2d67da
it's amazing what a bit of punctuation can do for appearances
|
21 years ago |
Nick Mathewson
|
c0ea93337d
Doxygenate common.
|
21 years ago |
Roger Dingledine
|
1558fb7650
some patches on the patches
|
21 years ago |
Nick Mathewson
|
9a041591ac
Finish documenting the functions in common
|
21 years ago |
Nick Mathewson
|
908ccb9dcd
Handle windows socket errors correctly; comment most of common.
|
21 years ago |
Nick Mathewson
|
ddb15b8f67
Remove IVs from cipher code, since AES-ctr has none.
|
21 years ago |
Roger Dingledine
|
5d1510883e
use nick's _ARRAYSIZE abstraction
|
21 years ago |
Nick Mathewson
|
7055f837ab
Make Tor build on win32 with VC6 without warnings.
|
21 years ago |
Nick Mathewson
|
ac622d94dc
Workarounds for a couple of pieces of windows strangeness.
|
21 years ago |
Roger Dingledine
|
4e0dd5bd33
some compilers don't like an array of length zero
|
21 years ago |