Add freezero support

This commit is contained in:
kinichiro
2017-04-22 23:08:17 +09:00
parent 9d2418ae3a
commit 048625cf2b
6 changed files with 33 additions and 2 deletions

View File

@@ -681,6 +681,11 @@ if(NOT HAVE_ASPRINTF)
set(EXTRA_EXPORT ${EXTRA_EXPORT} vasprintf)
endif()
if(NOT HAVE_FREEZERO)
set(CRYPTO_SRC ${CRYPTO_SRC} compat/freezero.c)
set(EXTRA_EXPORT ${EXTRA_EXPORT} freezero)
endif()
if(NOT HAVE_GETPAGESIZE)
set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c)
endif()