diff options
author | David Goulet <dgoulet@torproject.org> | 2017-07-13 08:51:14 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-07-13 16:50:09 -0400 |
commit | 5d64ceb12defdc7db8402088fb2946c35274636a (patch) | |
tree | c89ac5b35065c96f874789b88c120b4484df31e9 /src/test/test_hs_service.c | |
parent | 3eeebd1b0ca43bc2523fb39349078277a40d4116 (diff) | |
download | tor-5d64ceb12defdc7db8402088fb2946c35274636a.tar.gz tor-5d64ceb12defdc7db8402088fb2946c35274636a.zip |
prop224: Move service version into config object
It makes more sense to have the version in the configuration object of the
service because it is afterall a torrc option (HiddenServiceVersion).
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_hs_service.c')
-rw-r--r-- | src/test/test_hs_service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index c695b90bc9..24fca08a14 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -471,7 +471,7 @@ test_load_keys(void *arg) tt_assert(!tor_mem_is_zero((char *) s->keys.identity_pk.pubkey, ED25519_PUBKEY_LEN)); /* Check onion address from identity key. */ - hs_build_address(&s->keys.identity_pk, s->version, addr); + hs_build_address(&s->keys.identity_pk, s->config.version, addr); tt_int_op(hs_address_is_valid(addr), OP_EQ, 1); tt_str_op(addr, OP_EQ, s->onion_address); |