aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-03-31 21:35:23 +0000
committerNick Mathewson <nickm@torproject.org>2004-03-31 21:35:23 +0000
commitbf83b1e345bcdcdd95950ce5decf6c19cbc93568 (patch)
treef253c616c1b1d0048a84c8ed95ba8623bec423aa /src/or/main.c
parent157cd7fe1528be75b3064642ec1f3a3db8f77ca7 (diff)
downloadtor-bf83b1e345bcdcdd95950ce5decf6c19cbc93568.tar
tor-bf83b1e345bcdcdd95950ce5decf6c19cbc93568.tar.gz
Add code to configure hidden services, parse configuration, generate keys and service IDs, and store/load them from disk
svn:r1410
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index a9b4451ed..a0addd9cb 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -553,7 +553,7 @@ static int do_main_loop(void) {
/* load the private keys, if we're supposed to have them, and set up the
* TLS context. */
- if (init_keys() < 0) {
+ if (init_keys() < 0 || rend_service_init_keys() < 0) {
log_fn(LOG_ERR,"Error initializing keys; exiting");
return -1;
}