Move strsep.c to crypto/compat/ and add ocspcheck build to CMake
This commit is contained in:
@@ -714,6 +714,11 @@ if(NOT HAVE_STRNDUP)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT HAVE_STRSEP)
|
||||
set(CRYPTO_SRC ${CRYPTO_SRC} compat/strsep.c)
|
||||
set(EXTRA_EXPORT ${EXTRA_EXPORT} strsep)
|
||||
endif()
|
||||
|
||||
if(NOT HAVE_TIMEGM)
|
||||
set(CRYPTO_SRC ${CRYPTO_SRC} compat/timegm.c)
|
||||
set(EXTRA_EXPORT ${EXTRA_EXPORT} timegm)
|
||||
|
@@ -73,6 +73,10 @@ libcompat_la_SOURCES += compat/strnlen.c
|
||||
endif
|
||||
endif
|
||||
|
||||
if !HAVE_STRSEP
|
||||
libcompat_la_SOURCES += compat/strsep.c
|
||||
endif
|
||||
|
||||
if !HAVE_ASPRINTF
|
||||
libcompat_la_SOURCES += compat/bsd-asprintf.c
|
||||
endif
|
||||
|
Reference in New Issue
Block a user