[tor-commits] [tor/master] Fix checkspaces

nickm at torproject.org nickm at torproject.org
Wed Sep 5 20:49:20 UTC 2018


commit 5656144290754254f2b10dfc941a652c4c2ba1e4
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Sep 5 16:48:53 2018 -0400

    Fix checkspaces
---
 src/lib/crypt_ops/crypto_util.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/crypt_ops/crypto_util.c b/src/lib/crypt_ops/crypto_util.c
index 42024907e..64b4e6b71 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);
-
 }





More information about the tor-commits mailing list