From: Harlan Stenn Date: Mon, 5 Feb 2018 10:18:59 +0000 (-0800) Subject: libntp/ssl_init.h only needs MD5_LENGTH if we don't have OpenSSL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43eb2ec3d3c521879da978930d71683175c88d48;p=thirdparty%2Fntp.git libntp/ssl_init.h only needs MD5_LENGTH if we don't have OpenSSL bk: 5a782f93dLlKb_gCHfqTdi3Clpf5VA --- diff --git a/libntp/ssl_init.c b/libntp/ssl_init.c index fa1f94978..96d9d0838 100644 --- a/libntp/ssl_init.c +++ b/libntp/ssl_init.c @@ -20,7 +20,6 @@ # include "openssl/opensslv.h" # include "libssl_compat.h" -# define MD5_LENGTH 16 # define CMAC_LENGTH 16 # define CMAC "AES128CMAC" @@ -83,6 +82,8 @@ ssl_check_version(void) INIT_SSL(); } +#else /* !OPENSSL */ +# define MD5_LENGTH 16 #endif /* OPENSSL */