diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-03-01 15:56:29 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-03-01 15:56:29 +0200 |
commit | 931948ac6ad0c6f5327fd3c212ce6fe241a071f1 (patch) | |
tree | 64fc9e96dbeff6911dde10f081ba0e73470b9d75 /src/or/main.c | |
parent | efa5bbaba07d20d1aacff7d1d2a5fe08a6ec2d72 (diff) | |
download | tor-931948ac6ad0c6f5327fd3c212ce6fe241a071f1.tar.gz tor-931948ac6ad0c6f5327fd3c212ce6fe241a071f1.zip |
Prevent SRV assert when called from misconfigured bridge auth.
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 5549f97998..475587eacd 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2405,7 +2405,7 @@ do_main_loop(void) } /* Setup shared random protocol subsystem. */ - if (authdir_mode_publishes_statuses(get_options())) { + if (authdir_mode_v3(get_options())) { if (sr_init(1) < 0) { return -1; } |