---
+* CID 1295478: Quiet a pedantic potential error from the fix for Bug 2776.
* [Bug 2776] Improve ntpq's 'help keytype'.
* [Bug 2794] Clean up kernel clock status reports.
* [Bug 2800] refclock_true.c true_debug() can't open debug log because
Various improvements, see http://bugs.ntp.org/2808 for details.
Changed libjsmn to a more recent version.
* Improve the ntpq documentation around the controlkey keyid.
+* ntpq.c cleanup.
---
(4.2.8p2) 2015/04/07 Released by Harlan Stenn <stenn@ntp.org>
(4.2.8p2-RC3) 2015/04/03 Released by Harlan Stenn <stenn@ntp.org>
#include <isc/result.h>
#include "ntpq.h"
+#include "ntp_assert.h"
#include "ntp_stdlib.h"
#include "ntp_unixtime.h"
#include "ntp_calendar.h"
void ntpq_custom_opt_handler (tOptions *, tOptDesc *);
#ifdef OPENSSL
+# ifdef HAVE_EVP_MD_DO_ALL_SORTED
static void list_md_fn(const EVP_MD *m, const char *from,
const char *to, void *arg );
+# endif
#endif
static char *list_digest_names(void);
break;
}
+ /* CID: 1295478 */
+ /* This should only "trip" if "keytype" is removed from builtins */
+ INSIST(icmd < sizeof(builtins)/sizeof(builtins[0]));
+
#ifdef OPENSSL
builtins[icmd].desc[0] = "digest-name";
fmt = "set key type to use for authenticated requests, one of:%s";
*/
#ifdef OPENSSL
+# ifdef HAVE_EVP_MD_DO_ALL_SORTED
struct hstate {
char *list;
const char **seen;
else
hstate->idx++;
}
+# endif
#endif
static char *list_digest_names(void)