From: Harlan Stenn Date: Sat, 5 May 2007 18:15:36 +0000 (-0400) Subject: OPENSSL and DEBUG cleanup X-Git-Tag: NTP_4_2_5P30~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa3fd7fc640ae89fb16f45625a045147ee4b7a41;p=thirdparty%2Fntp.git OPENSSL and DEBUG cleanup bk: 463cc9c8fhQCXmnQ6sZo2Ji-mC1FFw --- diff --git a/ntpd/ntp_config.c b/ntpd/ntp_config.c index 31ecd2a63..ba88701f0 100644 --- a/ntpd/ntp_config.c +++ b/ntpd/ntp_config.c @@ -909,8 +909,10 @@ static void config_auth(void) } /* Revoke Command */ +#ifdef OPENSSL if (my_config.auth.revoke) sys_revoke = (u_char) max(my_config.auth.revoke, KEY_REVOKE); +#endif /* OPENSSL */ #if !defined(VMS) && !defined(SYS_VXWORKS) /* find a keyid */ @@ -1768,8 +1770,10 @@ void config_remotely() input_from_file = 0; // init_syntax_tree(); yyparse(); +#ifdef DEBUG if (debug > 1) printf("Finished Parsing!!\n"); +#endif config_ntpd(); @@ -1858,8 +1862,10 @@ void getconfig(int argc,char *argv[]) key_scanner = create_keyword_scanner(keyword_list); init_syntax_tree(); yyparse(); +#ifdef DEBUG if (debug > 1) printf("Finished Parsing!!\n"); +#endif /* The actual configuration done depends on whether we are configuring the * simulator or the daemon. Perform a check and call the appropriate