Log server fingerprint on startup

svn:r6223
This commit is contained in:
Peter Palfrader 2006-03-22 03:40:59 +00:00
parent eee9db49a7
commit 805754fdd9

View File

@ -354,6 +354,10 @@ init_keys(void)
log_err(LD_FS, "Error writing fingerprint line to file"); log_err(LD_FS, "Error writing fingerprint line to file");
return -1; return -1;
} }
log(LOG_NOTICE, LD_GENERAL,
"Your Tor server's identity key fingerprint is '%s %s'.",
options->Nickname, fingerprint);
if (!authdir_mode(options)) if (!authdir_mode(options))
return 0; return 0;
/* 6. [authdirserver only] load approved-routers file */ /* 6. [authdirserver only] load approved-routers file */