]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2776] Clean up EVP_MD_do_all_sorted() test
authorHarlan Stenn <stenn@ntp.org>
Mon, 27 Apr 2015 08:41:41 +0000 (08:41 +0000)
committerHarlan Stenn <stenn@ntp.org>
Mon, 27 Apr 2015 08:41:41 +0000 (08:41 +0000)
bk: 553df64539XQ2x91O3kG2mLqS4Q0gQ

sntp/m4/ntp_openssl.m4

index f2f41ff1ab835df20d0d48d392ecdd3bd6dbd192..0e38aba73e8b9832bcfad750c2cf4339ed564f49 100644 (file)
@@ -360,6 +360,9 @@ case "$ntp_openssl:$GCC" in
     CFLAGS_NTP="$CFLAGS_NTP -Wstrict-prototypes"
 esac
 
+# Because we don't want -Werror for the EVP_MD_do_all_sorted check
+CFLAGS="$NTPO_SAVED_CFLAGS"
+
 case "$ntp_openssl" in
  yes)
     LIBS="$NTPO_SAVED_LIBS $LDADD_NTP"
@@ -367,7 +370,6 @@ case "$ntp_openssl" in
     ;;
 esac
 
-CFLAGS="$NTPO_SAVED_CFLAGS"
 CPPFLAGS="$NTPO_SAVED_CPPFLAGS"
 LIBS="$NTPO_SAVED_LIBS"
 AS_UNSET([NTPO_SAVED_CFLAGS])