* ntpd/ntp_request.c (dns_a): crypto_public() is only available if
PUBKEY is #defined.
bk: 38d1a963zpHzjtHrkqarR_Up9WDtIA
* ntpd/ntp_request.c (dns_a): Call crypto_public with the resolved
name and the peer pointer.
+ (dns_a): crypto_public() is only available if PUBKEY is #defined.
* ntpd/ntp_crypto.c (crypto_public): sprintf is Evil. Use snprintf.
(crypto_setup): Ditto
--- /dev/null
+If you are compiling under FreeBSD and see messages in the syslogs that
+indicate that the ntpd process is trying to use unavailable sched_
+calls, it means you are running a kernel that does not have the POSIX
+scheduling calls enabled.
+
+You have two choices:
+
+- Ignore the messages
+
+- Generate a new kernel, where the kernel configuration file contains
+ the lines:
+
+ options "P1003_1B"
+ options "_KPOSIX_PRIORITY_SCHEDULING"
+ options "_KPOSIX_VERSION=199309L"
req_ack(srcadr, inter, inpkt, INFO_ERR_NODATA);
return;
} else {
+#ifdef PUBKEY
crypto_public(peer, dp->hostname);
+#endif /* PUBKEY */
}
dp++;