Move strsep.c to crypto/compat/ and add ocspcheck build to CMake

This commit is contained in:
kinichiro
2017-01-25 19:37:29 +09:00
parent 93754dc5cf
commit 91a8bd7914
7 changed files with 14 additions and 11 deletions

View File

@@ -19,10 +19,6 @@ set(
)
if(NOT HAVE_STRSEP)
set(TLS_SRC ${TLS_SRC} strsep.c)
endif()
if(NOT "${OPENSSLDIR}" STREQUAL "")
add_definitions(-D_PATH_SSL_CA_FILE=\"${OPENSSLDIR}/cert.pem\")
else()

View File

@@ -29,7 +29,3 @@ libtls_la_SOURCES += tls_peer.c
libtls_la_SOURCES += tls_util.c
libtls_la_SOURCES += tls_verify.c
noinst_HEADERS = tls_internal.h
if !HAVE_STRSEP
libtls_la_SOURCES += strsep.c
endif