diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-08-11 10:35:10 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-08-11 10:41:20 -0400 |
commit | 835e09e54b07cac826e1d2efb450b0223e8a92ba (patch) | |
tree | 70a8e95d1bc0b156e9ad22142907441cd0c0d62a /src/or/main.c | |
parent | da04fed865b6df09b33e6b632d51d34b3eb20d14 (diff) | |
download | tor-835e09e54b07cac826e1d2efb450b0223e8a92ba.tar.gz tor-835e09e54b07cac826e1d2efb450b0223e8a92ba.zip |
Split the client-only parts of init_keys() into a separate function
This should simplify the callgraph a little more.
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index e564e6c132..c6dcd2ae95 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1888,7 +1888,7 @@ ip_address_changed(int at_interface) if (at_interface) { if (! server) { /* Okay, change our keys. */ - if (init_keys()<0) + if (init_keys_client() < 0) log_warn(LD_GENERAL, "Unable to rotate keys after IP change!"); } } else { |