mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Log server fingerprint on startup
svn:r6223
This commit is contained in:
parent
eee9db49a7
commit
805754fdd9
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user