]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
crypt_ops: Fix some weird macro spacing
authorteor <teor@torproject.org>
Sat, 16 Nov 2019 13:31:09 +0000 (23:31 +1000)
committerteor <teor@torproject.org>
Tue, 26 Nov 2019 01:03:22 +0000 (11:03 +1000)
src/lib/crypt_ops/crypto_openssl_mgt.c
src/lib/crypt_ops/crypto_s2k.c

index e867012f4ece1fd39ec8c7f7f3c9efba07b23914..cf0e499ee4f1fd7bfbf3834768ae9dff31ce8126 100644 (file)
@@ -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
index 361db18927e5444790463ad597298f04a210d663..0ee3bf601d57ea2ffab9b97e8e7899663621dfca 100644 (file)
@@ -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;