+* Code cleanup: requested_key -> request_key.
* [Bug 833] ignore whitespace at end of remote configuration lines
* [Bug 1033] ntpdc/ntpq crash prompting for keyid on Windows
* [Bug 1154] mDNS registration should be done later, repeatedly and only
queue *crypto_cmd_list;
char *keys;
char *keysdir;
- int requested_key;
+ int request_key;
int revoke;
queue *trusted_key_list;
char *ntp_signd_socket;
#else
my_config.auth.ntp_signd_socket = NULL;
#endif
- my_config.auth.requested_key = 0;
+ my_config.auth.request_key = 0;
my_config.auth.revoke = 0;
my_config.auth.trusted_key_list = NULL;
}
ctl_auth_keyid = my_config.auth.control_key;
/* Requested Key Command */
- if (my_config.auth.requested_key) {
+ if (my_config.auth.request_key) {
#ifdef DEBUG
if (debug > 3)
printf("set info_auth_key to %08lx\n",
- (long unsigned int) my_config.auth.requested_key);
+ (long unsigned int) my_config.auth.request_key);
#endif
- info_auth_keyid = (keyid_t) my_config.auth.requested_key;
+ info_auth_keyid = (keyid_t) my_config.auth.request_key;
}
/* Trusted Key Command */
/* Enabling traces. */
#ifndef YYDEBUG
-# define YYDEBUG 0
+# define YYDEBUG 1
#endif
/* Enabling verbose error messages. */
script_info *Sim_script;
}
/* Line 193 of yacc.c. */
-#line 463 "ntp_parser.c"
+#line 463 "../../ntpd/ntp_parser.c"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
/* Line 216 of yacc.c. */
-#line 476 "ntp_parser.c"
+#line 476 "../../ntpd/ntp_parser.c"
#ifdef short
# undef short
case 55:
#line 421 "ntp_parser.y"
- { my_config.auth.requested_key = (yyvsp[(2) - (2)].Integer); }
+ { my_config.auth.request_key = (yyvsp[(2) - (2)].Integer); }
break;
case 56:
/* Line 1267 of yacc.c. */
-#line 3234 "ntp_parser.c"
+#line 3234 "../../ntpd/ntp_parser.c"
default: break;
}
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
-#line 49 "ntp_parser.y"
+#line 51 "ntp_parser.y"
{
char *String;
double Double;
script_info *Sim_script;
}
/* Line 1529 of yacc.c. */
-#line 376 "ntp_parser.h"
+#line 376 "../../ntpd/ntp_parser.h"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
| T_Keysdir T_String
{ my_config.auth.keysdir = $2; }
| T_Requestkey T_Integer
- { my_config.auth.requested_key = $2; }
+ { my_config.auth.request_key = $2; }
| T_Trustedkey integer_list
{ my_config.auth.trusted_key_list = $2; }
| T_NtpSignDsocket T_String