tor/src/or
Sebastian Hahn 3a890b3b70 Properly refcount client_identity_key
In a2bb0bf we started using a separate client identity key. When we are
in "public server mode" (that means not a bridge) we will use the same
key. Reusing the key without doing the proper refcounting leads to a
segfault on cleanup during shutdown. Fix that.

Also introduce an assert that triggers if our refcount falls below 0.
That should never happen.
2011-10-26 14:17:01 +02:00
..
buffers.c Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
circuitbuild.c Hand-conversion and audit phase of memcmp transition 2011-05-11 16:12:51 -04:00
circuitlist.c Hand-conversion and audit phase of memcmp transition 2011-05-11 16:12:51 -04:00
circuituse.c Abandon rendezvous circuits on SIGNAL NEWNYM 2011-06-17 15:22:23 -04:00
command.c fix whitespace issues 2011-01-03 11:57:42 -05:00
config.c Fix crash when read_file_to_string() fails in SAVECONF 2011-05-11 22:05:41 -04:00
connection_edge.c Hand-conversion and audit phase of memcmp transition 2011-05-11 16:12:51 -04:00
connection_or.c Rename get_client_identity_key to get_tlsclient_identity_key 2011-10-26 14:16:34 +02:00
connection.c Use strlcpy in create_unix_sockaddr() 2011-07-01 12:54:24 -04:00
control.c Hand-conversion and audit phase of memcmp transition 2011-05-11 16:12:51 -04:00
cpuworker.c Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
directory.c Check fetched rendezvous descriptors' service IDs 2011-05-16 14:07:24 -04:00
dirserv.c Maintain separate server and client identity keys when appropriate. 2011-10-26 14:16:20 +02:00
dirvote.c Fixup whitespace issues from 3122 commit 2011-05-15 20:06:36 -04:00
dns.c Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
dnsserv.c Add missing check for hostname answer_len in dnsserv size 2011-01-15 13:09:12 -05:00
eventdns_tor.h Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
eventdns.c Merge branch 'bug2574' into maint-0.2.1 2011-05-28 02:07:48 -04:00
eventdns.h Fix compile warnings on Snow Leopard 2009-09-01 18:36:27 +02:00
geoip.c Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
hibernate.c Maintain separate server and client identity keys when appropriate. 2011-10-26 14:16:20 +02:00
main.c Rename get_client_identity_key to get_tlsclient_identity_key 2011-10-26 14:16:34 +02:00
Makefile.am Ouch: correctly tabify the micro-revision.i target in Makefile.am (0.2.1 only) 2011-04-19 12:29:20 -04:00
networkstatus.c Fixup whitespace issues from 3122 commit 2011-05-15 20:06:36 -04:00
ntmain.c Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
onion.c Hand-conversion and audit phase of memcmp transition 2011-05-11 16:12:51 -04:00
or.h Rename get_client_identity_key to get_tlsclient_identity_key 2011-10-26 14:16:34 +02:00
policies.c exit_policy_is_general_exit is IPv4 only; it should admit it. 2011-03-06 13:16:53 -05:00
reasons.c Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
relay.c Hand-conversion and audit phase of memcmp transition 2011-05-11 16:12:51 -04:00
rendclient.c Hand-conversion and audit phase of memcmp transition 2011-05-11 16:12:51 -04:00
rendcommon.c Fix a rare memory leak in rend_cache_store 2011-07-01 12:54:19 -04:00
rendmid.c Hand-conversion and audit phase of memcmp transition 2011-05-11 16:12:51 -04:00
rendservice.c Hand-conversion and audit phase of memcmp transition 2011-05-11 16:12:51 -04:00
rephist.c Hand-conversion and audit phase of memcmp transition 2011-05-11 16:12:51 -04:00
router.c Properly refcount client_identity_key 2011-10-26 14:17:01 +02:00
routerlist.c Fixup whitespace issues from 3122 commit 2011-05-15 20:06:36 -04:00
routerparse.c squash! Add crypto_pk_check_key_public_exponent function 2011-05-16 14:45:06 -04:00
test_data.c Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
test.c Add a data-independent variant of memcmp and a d-i memeq function. 2011-05-11 16:12:33 -04:00
tor_main.c Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00