aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/router.c2
-rw-r--r--src/or/router.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 2b58de8ff..6fa9f65e1 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -688,7 +688,7 @@ router_initialize_tls_context(void)
* it to 'fingerprint' (or 'hashed-fingerprint'). Return 0 on success, or
* -1 if Tor should die,
*/
-static int
+STATIC int
router_write_fingerprint(int hashed)
{
char *keydir = NULL, *cp = NULL;
diff --git a/src/or/router.h b/src/or/router.h
index 74b673fbe..630724681 100644
--- a/src/or/router.h
+++ b/src/or/router.h
@@ -147,6 +147,7 @@ smartlist_t *router_get_all_orports(const routerinfo_t *ri);
#ifdef ROUTER_PRIVATE
/* Used only by router.c and test.c */
STATIC void get_platform_str(char *platform, size_t len);
+STATIC int router_write_fingerprint(int hashed);
#endif
#endif