aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-05 16:48:53 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-05 16:48:53 -0400
commit5656144290754254f2b10dfc941a652c4c2ba1e4 (patch)
tree28ae9cf63162390580ed694f6687f3bb5ae00f9b /src/lib
parent710aa122e4a011435a64e5ccddc0e898ede1f231 (diff)
downloadtor-5656144290754254f2b10dfc941a652c4c2ba1e4.tar.gz
tor-5656144290754254f2b10dfc941a652c4c2ba1e4.zip
Fix checkspaces
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/crypt_ops/crypto_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/crypt_ops/crypto_util.c b/src/lib/crypt_ops/crypto_util.c
index 42024907e5..64b4e6b71b 100644
--- a/src/lib/crypt_ops/crypto_util.c
+++ b/src/lib/crypt_ops/crypto_util.c
@@ -95,7 +95,7 @@ memwipe(void *mem, uint8_t byte, size_t sz)
OPENSSL_cleanse(mem, sz);
#else
memset(mem, 0, sz);
- asm volatile ("" ::: "memory");
+ asm volatile("" ::: "memory");
#endif /* defined(SecureZeroMemory) || defined(HAVE_SECUREZEROMEMORY) || ... */
/* Just in case some caller of memwipe() is relying on getting a buffer
@@ -108,5 +108,4 @@ memwipe(void *mem, uint8_t byte, size_t sz)
* if somebody accidentally calls memwipe() instead of memset().
**/
memset(mem, byte, sz);
-
}