瀏覽代碼

Fix checkspaces

Nick Mathewson 5 年之前
父節點
當前提交
5656144290
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/lib/crypt_ops/crypto_util.c

+ 1 - 2
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);
-
 }