diff options
author | teor <teor@riseup.net> | 2020-05-11 18:10:07 +1000 |
---|---|---|
committer | teor <teor@riseup.net> | 2020-05-18 21:53:52 +1000 |
commit | a3244c03fb586268da72fbe90bc8f4def85aaff7 (patch) | |
tree | 7ebef6f38107ead7f8d51c8bea078d03b643ee78 /src/test/test_circuitbuild.c | |
parent | 3f7f976d4812a92bdbf5f14e25db0d276f123cef (diff) | |
download | tor-a3244c03fb586268da72fbe90bc8f4def85aaff7.tar.gz tor-a3244c03fb586268da72fbe90bc8f4def85aaff7.zip |
nodelist: Replace int with bool
Make some interfaces and implementations consistent by replacing int
with bool.
Part of 34200.
Diffstat (limited to 'src/test/test_circuitbuild.c')
-rw-r--r-- | src/test/test_circuitbuild.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_circuitbuild.c b/src/test/test_circuitbuild.c index 44d286e758..88e46af136 100644 --- a/src/test/test_circuitbuild.c +++ b/src/test/test_circuitbuild.c @@ -281,10 +281,10 @@ mock_node_get_by_id(const char *identity_digest) return mocked_node; } -static int mocked_supports_ed25519_link_authentication = 0; -static int +static bool mocked_supports_ed25519_link_authentication = 0; +static bool mock_node_supports_ed25519_link_authentication(const node_t *node, - int compatible_with_us) + bool compatible_with_us) { (void)node; (void)compatible_with_us; |