diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-11-01 12:33:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-11-05 09:22:02 -0500 |
commit | 6e7ff8cba0efaf803e3ef5b5aba4123633fe0658 (patch) | |
tree | 34d13bcfb483674e0ae52bd3fb60f371c20f0155 /src/test | |
parent | 7bb76b24cf755799b7950ef078ac5ccf4d6e3a8a (diff) | |
download | tor-6e7ff8cba0efaf803e3ef5b5aba4123633fe0658.tar.gz tor-6e7ff8cba0efaf803e3ef5b5aba4123633fe0658.zip |
Move the code that knows our tor version into a lowest-level lib
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fuzz/fuzzing_common.c | 1 | ||||
-rw-r--r-- | src/test/testing_common.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/fuzz/fuzzing_common.c b/src/test/fuzz/fuzzing_common.c index 1401e4c28d..879f9e74dc 100644 --- a/src/test/fuzz/fuzzing_common.c +++ b/src/test/fuzz/fuzzing_common.c @@ -9,6 +9,7 @@ #include "lib/compress/compress.h" #include "lib/crypt_ops/crypto_ed25519.h" #include "lib/crypt_ops/crypto_init.h" +#include "lib/version/torversion.h" static or_options_t *mock_options = NULL; static const or_options_t * diff --git a/src/test/testing_common.c b/src/test/testing_common.c index c52683afca..8d648ee175 100644 --- a/src/test/testing_common.c +++ b/src/test/testing_common.c @@ -25,6 +25,7 @@ #include "lib/compress/compress.h" #include "lib/evloop/compat_libevent.h" #include "lib/crypt_ops/crypto_init.h" +#include "lib/version/torversion.h" #include <stdio.h> #ifdef HAVE_FCNTL_H |