add tls13_[tlsext|buffer].* and buffertest

This commit is contained in:
Brent Cook 2019-01-18 17:13:36 -06:00
parent 7032d88bfd
commit e59ea94f62
4 changed files with 18 additions and 0 deletions

View File

@ -37,8 +37,10 @@ set(
t1_enc.c
t1_hash.c
t1_lib.c
tls13_buffer.c
tls13_handshake.c
tls13_key_schedule.c
tls13_tlsext.c
)
add_library(ssl ${SSL_SRC})

View File

@ -46,8 +46,10 @@ libssl_la_SOURCES += ssl_versions.c
libssl_la_SOURCES += t1_enc.c
libssl_la_SOURCES += t1_hash.c
libssl_la_SOURCES += t1_lib.c
libssl_la_SOURCES += tls13_buffer.c
libssl_la_SOURCES += tls13_handshake.c
libssl_la_SOURCES += tls13_key_schedule.c
libssl_la_SOURCES += tls13_tlsext.c
noinst_HEADERS = bytestring.h
noinst_HEADERS += srtp.h
@ -55,3 +57,4 @@ noinst_HEADERS += ssl_locl.h
noinst_HEADERS += ssl_sigalgs.h
noinst_HEADERS += ssl_tlsext.h
noinst_HEADERS += tls13_internal.h
noinst_HEADERS += tls13_tlsext.h

View File

@ -85,6 +85,13 @@ if(NOT BUILD_SHARED_LIBS)
add_test(bntest bntest)
endif()
# buffertest
if(NOT BUILD_SHARED_LIBS)
add_executable(buffertest buffertest.c)
target_link_libraries(buffertest ${OPENSSL_LIBS})
add_test(buffertest buffertest)
endif()
# bytestringtest
if(NOT BUILD_SHARED_LIBS)
add_executable(bytestringtest bytestringtest.c)

View File

@ -93,6 +93,12 @@ bntest_CPPFLAGS = $(AM_CPPFLAGS) -ULIBRESSL_INTERNAL
check_PROGRAMS += bntest
bntest_SOURCES = bntest.c
# buffertest
TESTS += buffertest
buffertest_CPPFLAGS = $(AM_CPPFLAGS)
check_PROGRAMS += buffertest
buffertest_SOURCES = buffertest.c
# bytestringtest
TESTS += bytestringtest
check_PROGRAMS += bytestringtest