aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-16 23:31:09 +1000
committerteor <teor@torproject.org>2019-11-26 11:03:22 +1000
commit5ec4fb755821f65c8b59b55c7629be371fe29fb0 (patch)
tree5ae2a5882dc8e622dddab4e1eac15200be0c28f1
parente66fde45f1b1c90a7f98e66980d2a7e4227a17a1 (diff)
downloadtor-5ec4fb755821f65c8b59b55c7629be371fe29fb0.tar.gz
tor-5ec4fb755821f65c8b59b55c7629be371fe29fb0.zip
crypt_ops: Fix some weird macro spacing
-rw-r--r--src/lib/crypt_ops/crypto_openssl_mgt.c2
-rw-r--r--src/lib/crypt_ops/crypto_s2k.c2
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 e867012f4e..cf0e499ee4 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 361db18927..0ee3bf601d 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;