]> git.ipfire.org Git - thirdparty/strongswan.git/commit
unit-tests: Add mock nonce generator
authorTobias Brunner <tobias@strongswan.org>
Tue, 17 May 2016 18:03:59 +0000 (20:03 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 17 Jun 2016 16:48:02 +0000 (18:48 +0200)
commitc1289eb5784851d5b0a60dd694d1df094c360016
tree67115890342d9d5f26cc3235b3a484d2734b882d
parentfbb0b3cb0ace2bf96ea9d46deae123fe2ac27ed7
unit-tests: Add mock nonce generator

We don't make the full nonces configurable but only the first byte,
which should be enough to force a nonce to be smaller than others.
src/libcharon/tests/Makefile.am
src/libcharon/tests/utils/mock_nonce_gen.c [new file with mode: 0644]
src/libcharon/tests/utils/mock_nonce_gen.h [new file with mode: 0644]