diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-08 16:48:04 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-08 16:48:04 -0500 |
commit | 81deddb08c6b8bf644f663dcdc31720e365f68dc (patch) | |
tree | 9e67efdfb4451dcc169727dc0e64f8f5bfca95b8 /src/or/routerparse.c | |
parent | 9f3f5372b880b3372fd7b9fc98bd3d78f969390a (diff) | |
parent | 9ad4776e6150a29fdfff607721599eb04c6e76d7 (diff) | |
download | tor-81deddb08c6b8bf644f663dcdc31720e365f68dc.tar.gz tor-81deddb08c6b8bf644f663dcdc31720e365f68dc.zip |
Merge remote-tracking branch 'origin/maint-0.2.3'
Conflicts:
src/common/crypto.c
src/or/rendservice.c
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 8d6cd1c7fa..a333780752 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -4637,7 +4637,7 @@ tor_version_parse(const char *s, tor_version_t *out) if (close_paren-cp > HEX_DIGEST_LEN) return -1; hexlen = (int)(close_paren-cp); - memset(digest, 0, sizeof(digest)); + memwipe(digest, 0, sizeof(digest)); if ( hexlen == 0 || (hexlen % 2) == 1) return -1; if (base16_decode(digest, hexlen/2, cp, hexlen)) |