Commit abe0940bfbd329297d42c992d1973db3f640adf2
Exists in
master
and in
1 other branch
Merge branch 'master' into develop
Showing
2 changed files
with
13 additions
and
2 deletions
Show diff stats
Makefile.in
configure.ac
... | ... | @@ -394,7 +394,18 @@ dnl --------------------------------------------------------------------------- |
394 | 394 | dnl SSL Security options |
395 | 395 | dnl --------------------------------------------------------------------------- |
396 | 396 | |
397 | -AC_CHECK_HEADER(openssl/fips.h, AC_DEFINE(HAVE_FIPS_H, 1, [FIPS Header is available]), AC_MSG_NOTICE(fips.h is not available)) | |
397 | +AC_ARG_ENABLE([fips], | |
398 | + [AS_HELP_STRING([--disable-fips], [Disable OpenSSL FIPS])], | |
399 | +[ | |
400 | + app_cv_fips="$enableval" | |
401 | +],[ | |
402 | + AC_CHECK_HEADER(openssl/fips.h, app_cv_fips="yes", AC_MSG_NOTICE(fips.h is not available)) | |
403 | + | |
404 | +]) | |
405 | + | |
406 | +if test "$app_cv_fips" == "yes"; then | |
407 | + AC_DEFINE(HAVE_FIPS_H, 1, [FIPS Header is available]) | |
408 | +fi | |
398 | 409 | |
399 | 410 | AC_ARG_ENABLE([self-signed-cert-check], |
400 | 411 | [AS_HELP_STRING([--enable-self-signed-cert-check], [Emit Warning when host presents a self signed certificate])], | ... | ... |