summaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-03 02:40:30 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-03 02:40:30 +0000
commit137b577bbd52a2da8f35a6b38514457868460e36 (patch)
tree24397d6dedb7c48bd46b4f0f0f69a4ad61d1cba3 /src/or/rendcommon.c
parent3dc3d0c4ccc95b2a30f9c13386c56b4e4b1edf06 (diff)
downloadtor-137b577bbd52a2da8f35a6b38514457868460e36.tar.gz
tor-137b577bbd52a2da8f35a6b38514457868460e36.zip
Refactor the heck out of crypto interface: admit that we will stick with one ciphersuite at a time, make const things const, and stop putting openssl in the headers.
svn:r1458
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r--src/or/rendcommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index c3ad05cc48..f57e177272 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -112,7 +112,7 @@ rend_service_descriptor_t *rend_parse_service_descriptor(
int rend_get_service_id(crypto_pk_env_t *pk, char *out)
{
- char buf[CRYPTO_SHA1_DIGEST_LEN];
+ char buf[DIGEST_LEN];
assert(pk);
if (crypto_pk_get_digest(pk, buf) < 0)
return -1;