bk: 46ba60edzKUxjh0MgsVX_zGWx94Eyg
+* Improve Calysto support.
* The "revoke" parameter is a crypto command.
* The driftfile wander threshold is a real number.
* [Bug 850] Fix the wander threshold parameter on the driftfile command.
#ifndef NTP_ASSSERT_H
#define NTP_ASSERT_H
+# ifdef CALYSTO
+
+extern void calysto_assume(unsigned char cnd); /* assume this always holds */
+extern void calysto_assert(unsigned char cnd); /* check whether this holds */
+#define NTP_REQUIRE(x) calysto_assert(x)
+#define NTP_INSIST(x) calysto_assume(x)
+#define NTP_INVARIANT(x) calysto_assume(x)
+#define NTP_ENSURE(x) calysto_assert(x)
+
+# else /* ~CALYSTO */
+
#include "isc/assertions.h"
#define NTP_REQUIRE(x) ISC_REQUIRE(x)
#define NTP_INVARIANT(x) ISC_INVARIANT(x)
#define NTP_ENSURE(x) ISC_ENSURE(x)
+# endif /* ~CALYSTO */
#endif