diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-08 16:45:46 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-08 16:45:46 -0500 |
commit | 9ad4776e6150a29fdfff607721599eb04c6e76d7 (patch) | |
tree | 7189ed200ae8f47bf7d3399d0b99243dc93bced3 /src/or/routerparse.c | |
parent | 758428dd32128874cefacc92ef63c1b5bc9a656e (diff) | |
parent | 49dd5ef3a3d1775fdc3c0a7d069d3097b3baeeec (diff) | |
download | tor-9ad4776e6150a29fdfff607721599eb04c6e76d7.tar.gz tor-9ad4776e6150a29fdfff607721599eb04c6e76d7.zip |
Merge branch 'bug7352_023_rebased' into maint-0.2.3
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 2bf072b3cf..299d07d376 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -4596,7 +4596,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)) |