diff options
author | George Kadianakis <desnacked@riseup.net> | 2020-01-27 17:26:47 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2020-01-28 01:08:41 +0200 |
commit | ba99287d13782048f58a88dc5d18780fad9f2034 (patch) | |
tree | 12cb01a06bca75a9563733333ec279f73dc4d53c /src/feature/nodelist/nodelist.h | |
parent | 635f58bad23282e27fbc5833dbaae978dab25934 (diff) | |
download | tor-ba99287d13782048f58a88dc5d18780fad9f2034.tar.gz tor-ba99287d13782048f58a88dc5d18780fad9f2034.zip |
Write unittest that covers cases of INTRODUCE1 handling.
Also fix some memleaks of other OB unittests.
Diffstat (limited to 'src/feature/nodelist/nodelist.h')
-rw-r--r-- | src/feature/nodelist/nodelist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/nodelist/nodelist.h b/src/feature/nodelist/nodelist.h index 9742e3dff2..40aed0067f 100644 --- a/src/feature/nodelist/nodelist.h +++ b/src/feature/nodelist/nodelist.h @@ -78,8 +78,8 @@ int node_supports_ed25519_hs_intro(const node_t *node); int node_supports_v3_rendezvous_point(const node_t *node); int node_supports_establish_intro_dos_extension(const node_t *node); const uint8_t *node_get_rsa_id_digest(const node_t *node); -smartlist_t *node_get_link_specifier_smartlist(const node_t *node, - bool direct_conn); +MOCK_DECL(smartlist_t *,node_get_link_specifier_smartlist,(const node_t *node, + bool direct_conn)); void link_specifier_smartlist_free_(smartlist_t *ls_list); #define link_specifier_smartlist_free(ls_list) \ FREE_AND_NULL(smartlist_t, link_specifier_smartlist_free_, (ls_list)) |