From 835e09e54b07cac826e1d2efb450b0223e8a92ba Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 11 Aug 2015 10:35:10 -0400 Subject: Split the client-only parts of init_keys() into a separate function This should simplify the callgraph a little more. --- src/or/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/main.c') 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 { -- cgit v1.2.3-54-g00ecf