aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-08 16:48:04 -0500
committerNick Mathewson <nickm@torproject.org>2012-11-08 16:48:04 -0500
commit81deddb08c6b8bf644f663dcdc31720e365f68dc (patch)
tree9e67efdfb4451dcc169727dc0e64f8f5bfca95b8 /src/or/rendservice.c
parent9f3f5372b880b3372fd7b9fc98bd3d78f969390a (diff)
parent9ad4776e6150a29fdfff607721599eb04c6e76d7 (diff)
downloadtor-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/rendservice.c')
-rw-r--r--src/or/rendservice.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index fe0333ef40..b13992a1d9 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1406,13 +1406,13 @@ rend_service_introduce(origin_circuit_t *circuit, const uint8_t *request,
tor_free(err_msg);
done:
- memset(keys, 0, sizeof(keys));
- memset(buf, 0, sizeof(buf));
- memset(serviceid, 0, sizeof(serviceid));
- memset(hexcookie, 0, sizeof(hexcookie));
- memset(intro_key_digest, 0, sizeof(intro_key_digest));
- memset(auth_data, 0, sizeof(auth_data));
- memset(diffie_hellman_hash, 0, sizeof(diffie_hellman_hash));
+ memwipe(keys, 0, sizeof(keys));
+ memwipe(buf, 0, sizeof(buf));
+ memwipe(serviceid, 0, sizeof(serviceid));
+ memwipe(hexcookie, 0, sizeof(hexcookie));
+ memwipe(intro_key_digest, 0, sizeof(intro_key_digest));
+ memwipe(auth_data, 0, sizeof(auth_data));
+ memwipe(diffie_hellman_hash, 0, sizeof(diffie_hellman_hash));
/* Free the parsed cell */
if (parsed_req) {