- Jan 18, 2012
-
-
Nick Mathewson authored
Fixes bug 4893. These changes are pure mechanical, and were generated with this perl script: /usr/bin/perl -w -i.bak -p s/crypto_pk_env_t/crypto_pk_t/g; s/crypto_dh_env_t/crypto_dh_t/g; s/crypto_cipher_env_t/crypto_cipher_t/g; s/crypto_digest_env_t/crypto_digest_t/g; s/aes_free_cipher/aes_cipher_free/g; s/crypto_free_cipher_env/crypto_cipher_free/g; s/crypto_free_digest_env/crypto_digest_free/g; s/crypto_free_pk_env/crypto_pk_free/g; s/_crypto_dh_env_get_dh/_crypto_dh_get_dh/g; s/_crypto_new_pk_env_rsa/_crypto_new_pk_from_rsa/g; s/_crypto_pk_env_get_evp_pkey/_crypto_pk_get_evp_pkey/g; s/_crypto_pk_env_get_rsa/_crypto_pk_get_rsa/g; s/crypto_new_cipher_env/crypto_cipher_new/g; s/crypto_new_digest_env/crypto_digest_new/g; s/crypto_new_digest256_env/crypto_digest256_new/g; s/crypto_new_pk_env/crypto_pk_new/g; s/crypto_create_crypto_env/crypto_cipher_new/g; s/connection_create_listener/connection_listener_new/g; s/smartlist_create/smartlist_new/g; s/transport_create/transport_new/g;
-
Nick Mathewson authored
-
Nick Mathewson authored
Bugfix on 0.2.2.29-beta; partial fix for 4533; found by wanoskarnet
-
- Jan 17, 2012
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Add a TOR_INVALID_SOCKET macro to wrap -1/INVALID_SOCKET. Partial work for bug4533.
-
Roger Dingledine authored
PLURAL() assumes that the plural is the canonical name for the option, so now it is.
-
- Jan 16, 2012
-
-
Nick Mathewson authored
-
Nick Mathewson authored
These were found by looking for tor_snprintf() instances that were preceeded closely by tor_malloc(), though I probably converted some more snprintfs as well. (In every case, make sure that the length variable (if any) is removed, renamed, or lowered, so that anything else that might have assumed a longer buffer doesn't exist.)
-
Nick Mathewson authored
These were found by looking for tor_snprintf() instances that were followed closely by tor_strdup(), though I probably converted some other snprintfs as well.
-
Nick Mathewson authored
(To ensure correctness, in every case, make sure that the temporary variable is deleted, renamed, or lowered in scope, so we can't have any bugs related to accidentally relying on the no-longer-filled variable.)
-
Nick Mathewson authored
-
-
Nick Mathewson authored
resolves ticket 3946
-
Nick Mathewson authored
-
- Jan 13, 2012
-
-
Nick Mathewson authored
Implements ticket #4207
-
George Kadianakis authored
-
Robert Ransom authored
Fixes bug #4897, not yet in any release. Using n_circ_id alone here (and below, when n_conn is NULL) really sucks, but that's a separate bug which will need a changes/ file.
-
- Jan 11, 2012
-
-
Nick Mathewson authored
This fixes bug 3325, where a bad .exit would get logged as a bad .onion
-
Nick Mathewson authored
fixes 4837
-
Nick Mathewson authored
-
Nick Mathewson authored
Apparently I missed a case when converting sec,usec to yyyy-mm-ddThh:mm:ss.uuuuuu .
-
Nick Mathewson authored
-
Nick Mathewson authored
This needs a changes file and more testing.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Also give the arguments to control_event_circuit_status_minor real names.
-
Nick Mathewson authored
-
A fixup commit which was intended to make this formula easier to read broke it instead.
-
- Jan 10, 2012
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
To solve bug 4779, we want to avoid OpenSSL 1.0.0's counter mode. But Fedora (and maybe others) lie about the actual OpenSSL version, so we can't trust the header to tell us if it's safe. Instead, let's do a run-time test to see whether it's safe, and if not, use our built-in version. fermenthor contributed a pretty essential fixup to this patch. Thanks!
-
Nick Mathewson authored
We require openssl 0.9.7 or later, and RAND_poll() was first added in openssl 0.9.6.
-
Nick Mathewson authored
It's a pain to convert 0x0090813f to and from 0.9.8s-release on the fly, so these macros should help.
-
Sebastian Hahn authored
This might help us see which authorities are problematic in getting their vote published the first time.
-
When we have an effective bandwidthrate configured so that we cannot exceed our bandwidth limit in one accounting interval, don't disable advertising the dirport. Implements ticket 2434.
-
Robert Ransom authored
Fixes #4883, not yet in any release.
-
Sebastian Hahn authored
MAX_DNS_LABEL_SIZE was only defined for old versions of openssl, which broke the build. Spotted by xiando. Fixes bug 4413; not in any released version.
-
Nick Mathewson authored
The thing that's limited to 63 bytes is a "label", not a hostname. Docment input constraints and behavior on bogus inputs. Generally it's better to check for overflow-like conditions before than after. In this case, it's not a true overflow, so we're okay, but let's be consistent. pedantic less->fewer in the documentation
-