summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 10:47:05 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:32:13 -0400
commitc1e8e5bb3223b950f79bce5bd3540566fc1fdc7b (patch)
treee9438a97f05fa30aa06bf2a7d4764d24f07436b1 /src/lib/crypt_ops
parentb03c8c74ce87e44fc74e84183fe883018b43f088 (diff)
downloadtor-c1e8e5bb3223b950f79bce5bd3540566fc1fdc7b.tar.gz
tor-c1e8e5bb3223b950f79bce5bd3540566fc1fdc7b.zip
Apparently coccinelle can't handle multiline #errors.
Diffstat (limited to 'src/lib/crypt_ops')
-rw-r--r--src/lib/crypt_ops/crypto_openssl_mgt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/crypt_ops/crypto_openssl_mgt.c b/src/lib/crypt_ops/crypto_openssl_mgt.c
index 9ec59e7c81..917ef4597b 100644
--- a/src/lib/crypt_ops/crypto_openssl_mgt.c
+++ b/src/lib/crypt_ops/crypto_openssl_mgt.c
@@ -121,9 +121,11 @@ crypto_openssl_get_header_version_str(void)
return crypto_openssl_header_version_str;
}
+#ifndef COCCI
#ifndef OPENSSL_THREADS
-#error OpenSSL has been built without thread support. Tor requires an \
- OpenSSL library with thread support enabled.
+#error "OpenSSL has been built without thread support. Tor requires an \
+ OpenSSL library with thread support enabled."
+#endif
#endif
#ifndef NEW_THREAD_API