]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix checkspaces
authorNick Mathewson <nickm@torproject.org>
Wed, 5 Sep 2018 20:48:53 +0000 (16:48 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 5 Sep 2018 20:48:53 +0000 (16:48 -0400)
src/lib/crypt_ops/crypto_util.c

index 42024907e565f4b4cc76e3331c0b21c740a91869..64b4e6b71bcaeeb04043e32ef5cf556f864ed565 100644 (file)
@@ -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);
-
 }