Should be pointing to the CRC location in the *unescaped* packet buffer since the CRC is subject to escaping/unescaping. Previous code pointed to the wrong location in the escaped packet buffer, which was often pointing to the write place if there weren't many escaped bytes in the input buffer, but was still wrong.
33 lines
504 B
Makefile
33 lines
504 B
Makefile
INCLUDES = \
|
|
-I$(top_srcdir)/libqcdm/src
|
|
|
|
noinst_PROGRAMS = test-qcdm
|
|
|
|
test_qcdm_SOURCES = \
|
|
test-qcdm-crc.c \
|
|
test-qcdm-crc.h \
|
|
test-qcdm-escaping.c \
|
|
test-qcdm-escaping.h \
|
|
test-qcdm-utils.c \
|
|
test-qcdm-utils.h \
|
|
test-qcdm-com.c \
|
|
test-qcdm-com.h \
|
|
test-qcdm-result.c \
|
|
test-qcdm-result.h \
|
|
test-qcdm.c
|
|
|
|
test_qcdm_CPPFLAGS = \
|
|
$(MM_CFLAGS)
|
|
|
|
test_qcdm_LDADD = \
|
|
$(top_builddir)/libqcdm/src/libqcdm.la \
|
|
$(MM_LIBS)
|
|
|
|
if WITH_TESTS
|
|
|
|
check-local: test-qcdm
|
|
$(abs_builddir)/test-qcdm
|
|
|
|
endif
|
|
|