summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-02 02:28:51 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-02 02:28:51 +0000
commit85c79ffbc7b965355c3b51cc81000d517089e74e (patch)
treeeafeb903a90d64be26fb900f567528caa1916b5b /src/or/router.c
parent1433a0b26fcc1e48ac8001c5438e00d140dbf2a9 (diff)
downloadtor-85c79ffbc7b965355c3b51cc81000d517089e74e.tar.gz
tor-85c79ffbc7b965355c3b51cc81000d517089e74e.zip
canonicalize "src" and "dest" arg order in crypto.c (and others)
svn:r2644
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 3dc145bd9b..8b1ba1763c 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -747,7 +747,7 @@ int router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
if (router_get_router_hash(s, digest) < 0)
return -1;
- if (crypto_pk_private_sign(ident_key, digest, 20, signature) < 0) {
+ if (crypto_pk_private_sign(ident_key, signature, digest, 20) < 0) {
log_fn(LOG_WARN, "Error signing digest");
return -1;
}