From: Harlan Stenn Date: Sun, 31 Aug 2008 02:09:29 +0000 (-0400) Subject: When LEAP_NOTINSYNC->LEAP_NOWARNING, call crypto_update() if we have crypto_flags X-Git-Tag: NTP_4_2_5P126~3^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05530d486582b85c8e9117e9b9099c0381a862bf;p=thirdparty%2Fntp.git When LEAP_NOTINSYNC->LEAP_NOWARNING, call crypto_update() if we have crypto_flags bk: 48b9fd59uxjZ8vO4WyJnYolFXrl3Ww --- diff --git a/ChangeLog b/ChangeLog index f278428c5..2c474de4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 * [Bug 1052] Add linuxPPS support to ONCORE driver. (4.2.5p124) 2008/08/17 Released by Harlan Stenn diff --git a/html/pic/boom4.gif b/html/pic/boom4.gif new file mode 100644 index 000000000..0661ac410 Binary files /dev/null and b/html/pic/boom4.gif differ diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index e09f0761d..f25c271ad 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -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;