[ntp:bk-ntp-dev-send] BitKeeper diffs

Harlan Stenn stenn at whimsy.udel.edu
Tue Aug 28 03:58:18 UTC 2007


#### ChangeSet ####
2007-08-25 13:22:24+00:00, kardel at pogo.udel.edu 
  ntp_config.c:
    Bug 894: initialize keysdir BEFORE crypto_setup() is called - so it has a fair 
    chance to find the keys.

==== ntpd/ntp_config.c ====
2007-08-25 13:21:03+00:00, kardel at pogo.udel.edu +5 -4
  Bug 894: initialize keysdir BEFORE crypto_setup() is called - so it has a fair 
  chance to find the keys.

--- 1.163/ntpd/ntp_config.c	2007-08-17 05:50:24 -04:00
+++ 1.164/ntpd/ntp_config.c	2007-08-25 09:21:03 -04:00
@@ -977,6 +977,11 @@ config_auth(void)
 		destroy_queue(my_config.auth.crypto_cmd_list);
 		my_config.auth.crypto_cmd_list = NULL;
 	}
+
+	/* Keysdir Command */
+	if (my_config.auth.keysdir)
+		keysdir = my_config.auth.keysdir;
+
 #ifdef OPENSSL
 	crypto_setup();
 #endif /* OPENSSL */
@@ -985,10 +990,6 @@ config_auth(void)
 	if (my_config.auth.keys)
 		getauthkeys(my_config.auth.keys);
     
-	/* Keysdir Command */
-	if (my_config.auth.keysdir)
-		keysdir = my_config.auth.keysdir;
-
 	/* Control Key Command */
 	if (my_config.auth.control_key != 0) 
 		ctl_auth_keyid = my_config.auth.control_key;


More information about the bk-ntp-dev-send mailing list