unit-tests: Export ntru_drbg_create as testable function so no linking is required

This way the plugin does not have to be linked explicitly to the test
runner, which otherwise would require that the plugin is either always
enabled to build the tests or that ifdefs are added to the Makefile.
This commit is contained in:
Tobias Brunner
2013-12-04 20:32:59 +01:00
committed by Andreas Steffen
parent 4cea186b64
commit d5a0abfa92
3 changed files with 11 additions and 6 deletions
-1
View File
@@ -53,5 +53,4 @@ tests_CFLAGS = \
tests_LDFLAGS = @COVERAGE_LDFLAGS@
tests_LDADD = \
$(top_builddir)/src/libstrongswan/libstrongswan.la \
$(top_builddir)/src/libstrongswan/plugins/ntru/libstrongswan-ntru.la \
libtest.la