]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: mock gnutls_dh_params_generate2
authorJán Tomko <jtomko@redhat.com>
Thu, 16 Jun 2016 06:54:27 +0000 (08:54 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 20 Jun 2016 16:12:53 +0000 (18:12 +0200)
commit743bda062bd4abc67574741f6f1a98f8d40a46d0
treec915b5768a210b9848fec9c9640cca4270f4e4fd
parent9f95593d601c82a60c24c77829aefccfaaaff3f6
tests: mock gnutls_dh_params_generate2

This function generates some big random numbers.

Cache the result and supply it to any subsequent generate2 calls.
tests/virnettlscontexttest.c
tests/virnettlssessiontest.c
tests/virrandommock.c