]> git.ipfire.org Git - thirdparty/strongswan.git/commit
unit-tests: Actually verify registered algorithms against test vectors
authorTobias Brunner <tobias@strongswan.org>
Thu, 13 Mar 2014 15:03:05 +0000 (16:03 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 20 Mar 2014 14:49:05 +0000 (15:49 +0100)
commit636076d45d6879c8679c721714451bfe89617e15
treee1d0ddbc10a188a23110342cf950d51930f763b4
parent316aa4b43b8ced4169f3887603d588028c9411a2
unit-tests: Actually verify registered algorithms against test vectors

Previously, the {ns}.crypto_test.on_add option had to be enabled to
actually test the algorithms, which we can't enforce for the tests in
the test_runner as the option is already read when the crypto factory
is initialized.  Even so, we wouldn't want to do this for every unit
test, which would be the result of enabling that option.
src/libstrongswan/crypto/crypto_factory.c
src/libstrongswan/tests/suites/test_vectors.c