mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
r17459@catbus: nickm | 2008-01-03 17:44:25 -0500
add init_logging calls to tor_gencert and tor_resolve svn:r13028
This commit is contained in:
parent
58de695f90
commit
0c2234378b
@ -392,6 +392,8 @@ int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
int r = 1;
|
||||
init_logging();
|
||||
|
||||
/* Don't bother using acceleration. */
|
||||
if (crypto_global_init(0)) {
|
||||
fprintf(stderr, "Couldn't initialize crypto library.\n");
|
||||
|
@ -278,6 +278,8 @@ main(int argc, char **argv)
|
||||
char *result_hostname = NULL;
|
||||
char buf[INET_NTOA_BUF_LEN];
|
||||
|
||||
init_logging();
|
||||
|
||||
arg = &argv[1];
|
||||
n_args = argc-1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user