diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-02 02:28:51 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-02 02:28:51 +0000 |
commit | 85c79ffbc7b965355c3b51cc81000d517089e74e (patch) | |
tree | eafeb903a90d64be26fb900f567528caa1916b5b /src/or/rendcommon.c | |
parent | 1433a0b26fcc1e48ac8001c5438e00d140dbf2a9 (diff) | |
download | tor-85c79ffbc7b965355c3b51cc81000d517089e74e.tar tor-85c79ffbc7b965355c3b51cc81000d517089e74e.tar.gz |
canonicalize "src" and "dest" arg order in crypto.c (and others)
svn:r2644
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index 1db2aa55f..b219ee2fa 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -71,7 +71,7 @@ rend_encode_service_descriptor(rend_service_descriptor_t *desc, strlcpy(cp, ipoint, *len_out-(cp-*str_out)); cp += strlen(ipoint)+1; } - i = crypto_pk_private_sign_digest(key, *str_out, cp-*str_out, cp); + i = crypto_pk_private_sign_digest(key, cp, *str_out, cp-*str_out); if (i<0) { tor_free(*str_out); return -1; |