- added missing check in code
bk: 5c00cbeb0iI9QHS8sS7ibmDITg1ioA
- applied patch by Gerry Garvey
* [Bug 3471] Check for openssl/[ch]mac.h. HStenn.
- add #define ENABLE_CMAC support in configure. HStenn.
+ - added missing check, reported by Reinhard Max <perlinger@ntp.org>
* [Bug 3470] ntpd4.2.8p11 fails to compile without OpenSSL <perlinger@ntp.org>
* [Bug 3469] Incomplete string compare [...] in is_refclk_addr <perlinger@ntp.org>
- patch by Stephen Friedl
log_maybe(NULL,
"authreadkeys: invalid type for key %d",
keyno);
+# ifdef ENABLE_CMAC
} else if (NID_cmac != keytype &&
EVP_get_digestbynid(keytype) == NULL) {
log_maybe(NULL,
"authreadkeys: no algorithm for key %d",
keyno);
keytype = 0;
+# endif /* ENABLE_CMAC */
}
#else /* !OPENSSL follows */
/*