diff options
author | Micah Elizabeth Scott <beth@torproject.org> | 2023-03-08 15:44:55 -0800 |
---|---|---|
committer | Micah Elizabeth Scott <beth@torproject.org> | 2023-05-10 07:38:28 -0700 |
commit | dcb9c4df67d116dc16f5361c8e4cd6e21fbb9abf (patch) | |
tree | e99810169c841c6cb74036d22a59dc4ccdf014a4 /src/core | |
parent | 9d1a57397739b869ab102783b858889bcc2e5066 (diff) | |
download | tor-dcb9c4df67d116dc16f5361c8e4cd6e21fbb9abf.tar.gz tor-dcb9c4df67d116dc16f5361c8e4cd6e21fbb9abf.zip |
hs_pow: Make proof-of-work support optional in configure
This adds a new "pow" module for the user-visible proof
of work support in ./configure, and this disables
src/feature/hs/hs_pow at compile-time.
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/include.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/include.am b/src/core/include.am index 7752a7974b..d24e5d5137 100644 --- a/src/core/include.am +++ b/src/core/include.am @@ -17,6 +17,7 @@ if UNITTESTS_ENABLED LIBTOR_APP_TESTING_A_SOURCES += $(MODULE_RELAY_SOURCES) LIBTOR_APP_TESTING_A_SOURCES += $(MODULE_DIRCACHE_SOURCES) LIBTOR_APP_TESTING_A_SOURCES += $(MODULE_DIRAUTH_SOURCES) +LIBTOR_APP_TESTING_A_SOURCES += $(MODULE_POW_SOURCES) src_core_libtor_app_testing_a_SOURCES = $(LIBTOR_APP_TESTING_A_SOURCES) else |