]> git.ipfire.org Git - thirdparty/tor.git/commit
Chop another ~93 RSA key generations out of the unit tests
authorNick Mathewson <nickm@torproject.org>
Fri, 9 Sep 2016 13:44:57 +0000 (09:44 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 9 Sep 2016 13:45:50 +0000 (09:45 -0400)
commit5e30e26c6d7ae33e23557bc18def36f98be4e1e6
treed2f530092f07a79e6c2fc6e7dc6ac981445562eb
parent05110c9294f64b494600b056670f62ca89b52b0b
Chop another ~93 RSA key generations out of the unit tests

We have a mock for our RSA key generation function, so we now wire
it to pk_generate(). This covers all the cases that were not using
pk_generate() before -- all ~93 of them.
src/common/crypto.c
src/common/crypto.h
src/test/test_shared_random.c
src/test/test_tortls.c
src/test/testing_common.c