diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2012-12-31 18:23:28 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2012-12-31 18:23:28 +0100 |
commit | 11e8a445c3051f017600b27999f0d666b7d63b04 (patch) | |
tree | 07ad0a898053b51a7bf1ffe6ebefcb1814ae14c6 /src/common/crypto.c | |
parent | 51c2dd8f8954d52fbaef29d2afb44d5eda47f4da (diff) | |
download | tor-11e8a445c3051f017600b27999f0d666b7d63b04.tar.gz tor-11e8a445c3051f017600b27999f0d666b7d63b04.zip |
Fix a couple of harmless clang3.2 warnings
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 39f5a4a642..4cf9a9cdb0 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1458,7 +1458,7 @@ crypto_digest256(char *digest, const char *m, size_t len, int crypto_digest_all(digests_t *ds_out, const char *m, size_t len) { - digest_algorithm_t i; + int i; tor_assert(ds_out); memset(ds_out, 0, sizeof(*ds_out)); if (crypto_digest(ds_out->d[DIGEST_SHA1], m, len) < 0) |