diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-10-08 12:17:14 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-10-08 12:17:14 -0400 |
commit | 1060688d2a351329ad6a4b751e312242b57531a0 (patch) | |
tree | 37988bb5b30c742fcc47eebe1993620d1e9976cc /src/or/router.c | |
parent | 5e0404265fd0e1f297b4b587419870fcd58a9d7c (diff) | |
parent | 7e0f1fa52adcf67d7b9c5459a3cc74f57bbfa3e2 (diff) | |
download | tor-1060688d2a351329ad6a4b751e312242b57531a0.tar.gz tor-1060688d2a351329ad6a4b751e312242b57531a0.zip |
Merge remote-tracking branch 'origin/maint-0.2.4'
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 1063eda044..edae2671f3 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -236,7 +236,7 @@ get_server_identity_key(void) int server_identity_key_is_set(void) { - return server_identitykey != NULL; + return server_mode(get_options()) && server_identitykey != NULL; } /** Set the current client identity key to <b>k</b>. |