diff options
author | Roger Dingledine <arma@torproject.org> | 2013-04-11 01:29:24 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2013-04-11 01:29:24 -0400 |
commit | 887eba98950f2974bd2031510e1ece2279a4f106 (patch) | |
tree | 0bda88092333a1aa21925033596f395df4e3d4b1 /src/common/crypto_curve25519.c | |
parent | fcd9248387249d68619734a73860ffaab12b021b (diff) | |
parent | 6acf0ac2851fb95953edea9c231d82f487f28c3d (diff) | |
download | tor-887eba98950f2974bd2031510e1ece2279a4f106.tar.gz tor-887eba98950f2974bd2031510e1ece2279a4f106.zip |
Merge branch 'maint-0.2.4' into release-0.2.4
Diffstat (limited to 'src/common/crypto_curve25519.c')
-rw-r--r-- | src/common/crypto_curve25519.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto_curve25519.c b/src/common/crypto_curve25519.c index 3e4004db2e..88c723f37c 100644 --- a/src/common/crypto_curve25519.c +++ b/src/common/crypto_curve25519.c @@ -169,7 +169,7 @@ curve25519_keypair_read_from_file(curve25519_keypair_t *keypair_out, end: if (content) { - memwipe(content, 0, st.st_size); + memwipe(content, 0, (size_t) st.st_size); tor_free(content); } if (r != 0) { |