cf: Check for OpenSSL FIPS
This commit is contained in:

committed by
Jeffrey Altman

parent
ac8c1341fb
commit
83cd1255f6
@@ -140,6 +140,15 @@ if test "$openssl" = "yes"; then
|
||||
[AC_DEFINE_UNQUOTED([HAVE_OPENSSL_30], 1,
|
||||
[whether OpenSSL is 3.0 or higher])]
|
||||
)
|
||||
AC_CHECK_HEADERS([openssl/fips.h],
|
||||
[AC_DEFINE_UNQUOTED([HAVE_OPENSSL_FIPS_H], 1,
|
||||
[whether openssl/fips.h is available])]
|
||||
)
|
||||
AC_CHECK_LIB([crypto],
|
||||
[FIPS_mode_set],
|
||||
[AC_DEFINE_UNQUOTED([HAVE_OPENSSL_FIPS_MODE_SET_API], 1,
|
||||
[whether FIPS_mode_set API is available])]
|
||||
)
|
||||
fi
|
||||
|
||||
LIB_hcrypto='$(top_builddir)/lib/hcrypto/libhcrypto.la'
|
||||
|
Reference in New Issue
Block a user