[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] crypt_ops: Fix some weird macro spacing



commit 5ec4fb755821f65c8b59b55c7629be371fe29fb0
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Sat Nov 16 23:31:09 2019 +1000

    crypt_ops: Fix some weird macro spacing
---
 src/lib/crypt_ops/crypto_openssl_mgt.c | 2 +-
 src/lib/crypt_ops/crypto_s2k.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/crypt_ops/crypto_openssl_mgt.c b/src/lib/crypt_ops/crypto_openssl_mgt.c
index e867012f4..cf0e499ee 100644
--- a/src/lib/crypt_ops/crypto_openssl_mgt.c
+++ b/src/lib/crypt_ops/crypto_openssl_mgt.c
@@ -399,7 +399,7 @@ crypto_openssl_thread_cleanup(void)
 void
 crypto_openssl_global_cleanup(void)
 {
-  #ifndef OPENSSL_1_1_API
+#ifndef OPENSSL_1_1_API
   EVP_cleanup();
 #endif
 #ifndef NEW_THREAD_API
diff --git a/src/lib/crypt_ops/crypto_s2k.c b/src/lib/crypt_ops/crypto_s2k.c
index 361db1892..0ee3bf601 100644
--- a/src/lib/crypt_ops/crypto_s2k.c
+++ b/src/lib/crypt_ops/crypto_s2k.c
@@ -380,7 +380,7 @@ secret_to_key_derivekey(uint8_t *key_out, size_t key_out_len,
 #ifndef HAVE_SCRYPT
   if (type == S2K_TYPE_SCRYPT)
     return S2K_NO_SCRYPT_SUPPORT;
- #endif
+#endif
 
   if (! legacy_format) {
     ++spec;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits