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:
Nick Mathewson 2008-01-03 22:44:32 +00:00
parent 58de695f90
commit 0c2234378b
2 changed files with 4 additions and 0 deletions

View File

@ -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");

View File

@ -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;