bk: 4f8f1654Tp3FH8tUmtEu4Hd77GCXxQ
reentrant when SIGIO is used. Sanity checks relative to the prior
get_systime() are disabled in ntpd on systems with signaled I/O, but
active in sntp and ntpdate.
+* Correct authnumfreekeys accounting broken in 4.2.7p262.
(4.2.7p272) 2012/04/14 Released by Harlan Stenn <stenn@ntp.org>
* LCRYPTO is gone - replace with VER_SUFFIX.
* Change the link order for ntpsntpd.
#ifdef DEBUG
base = sk;
#endif
+ authnumfreekeys += i;
for (; i > 0; i--, sk++) {
LINK_SLIST(authfreekeys, sk, llink.f);
}
- authnumfreekeys += i;
#ifdef DEBUG
allocrec = (void *)sk;
{
symkey * sk;
- if (0 == authnumfreekeys)
+ if (authnumfreekeys < 1)
auth_moremem(-1);
UNLINK_HEAD_SLIST(sk, authfreekeys, llink.f);
DEBUG_ENSURE(sk != NULL);