summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-06-28 04:16:17 +0000
committerNick Mathewson <nickm@torproject.org>2008-06-28 04:16:17 +0000
commit3ec25c2410bfd42e242120f1a3570edc654e2ed9 (patch)
tree3946f2967147d57f8c5ed30db7ff91870d71b0c8 /src
parent5b25352bf689cd3138b0291573f1c5ed2baa8e11 (diff)
downloadtor-3ec25c2410bfd42e242120f1a3570edc654e2ed9.tar.gz
tor-3ec25c2410bfd42e242120f1a3570edc654e2ed9.zip
r16587@tombo: nickm | 2008-06-28 00:13:40 -0400
fix for bug 704; found by sjmurdoch. Windows and recent openssl both want to define OCSP_RESPONSE; do not let them. svn:r15533
Diffstat (limited to 'src')
-rw-r--r--src/common/crypto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index eb1af30daa..67d36d73c2 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -21,6 +21,9 @@ const char crypto_c_id[] =
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <wincrypt.h>
+/* Windows defines this; so does openssl 0.9.8h and later. We don't actually
+ * use either definition. */
+#undef OCSP_RESPONSE
#endif
#include <openssl/err.h>