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

Harlan Stenn stenn at whimsy.udel.edu
Sun Aug 31 02:12:10 UTC 2008


#### ChangeSet ####
2008-08-30 22:09:29-04:00, stenn at whimsy.udel.edu 
  When LEAP_NOTINSYNC->LEAP_NOWARNING, call crypto_update() if we have crypto_flags

==== ChangeLog ====
2008-08-30 22:09:11-04:00, stenn at whimsy.udel.edu +3 -0
  When LEAP_NOTINSYNC->LEAP_NOWARNING, call crypto_update() if we have crypto_flags

--- 1.210/ChangeLog	2008-08-18 07:43:02 -04:00
+++ 1.211/ChangeLog	2008-08-30 22:09:11 -04:00
@@ -1,3 +1,6 @@
+* Changes from Dave Mills:
+  When LEAP_NOTINSYNC->LEAP_NOWARNING, call crypto_update() if we have
+  crypto_flags.
 (4.2.5p125) 2008/08/18 Released by Harlan Stenn <stenn at ntp.org>
 * [Bug 1052] Add linuxPPS support to ONCORE driver.
 (4.2.5p124) 2008/08/17 Released by Harlan Stenn <stenn at ntp.org>

==== html/pic/boom4.gif ====
2008-08-30 00:33:26-04:00, stenn at whimsy.udel.edu +361 -0
  BitKeeper file /deacon/backroom/ntp-dev/html/pic/boom4.gif

Binary files /dev/null and /tmp/bk_boom4.gif-1.1_K3aidA differ

==== html/pic/boom4.gif ====
2008-08-30 00:33:26-04:00, stenn at whimsy.udel.edu +0 -0

==== ntpd/ntp_proto.c ====
2008-08-30 22:01:58-04:00, stenn at whimsy.udel.edu +6 -1
  When LEAP_NOTINSYNC->LEAP_NOWARNING, call crypto_update() if we have crypto_flags

--- 1.274/ntpd/ntp_proto.c	2008-07-16 05:22:59 -04:00
+++ 1.275/ntpd/ntp_proto.c	2008-08-30 22:01:58 -04:00
@@ -1719,8 +1719,13 @@ clock_update(
 		 * leap bits. If crypto, the timer will goose the setup
 		 * process.
 		 */
-		if (sys_leap == LEAP_NOTINSYNC)
+		if (sys_leap == LEAP_NOTINSYNC) {
 			sys_leap = LEAP_NOWARNING;
+#ifdef OPENSSL
+			if (crypto_flags)
+				crypto_update();
+#endif /* OPENSSL */
+		}
 		sys_stratum = min(peer->stratum + 1, STRATUM_UNSPEC);
 		sys_rootdelay = peer->delay + peer->rootdelay;
 		sys_reftime = peer->dst;


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