summaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index cb324e9b03..1ab385cd35 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -1640,7 +1640,7 @@ node_has_curve25519_onion_key(const node_t *node)
}
/** Return the curve25519 key of <b>node</b>, or NULL if none. */
-curve25519_public_key_t *
+const curve25519_public_key_t *
node_get_curve25519_onion_key(const node_t *node)
{
if (node->ri)