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

[or-cvs] Try to build with OpenSSL 0.9.6. Lets pay attention to see ...



Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv17104/src/common

Modified Files:
	crypto.c 
Log Message:
Try to build with OpenSSL 0.9.6. Lets pay attention to see if anybody complains.

Index: crypto.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/crypto.c,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -d -r1.175 -r1.176
--- crypto.c	14 Nov 2005 19:18:31 -0000	1.175
+++ crypto.c	16 Nov 2005 05:22:44 -0000	1.176
@@ -66,6 +66,7 @@
 #endif
 
 #if OPENSSL_VERSION_NUMBER < 0x00907000l
+#define OPENSSL_PRE_097
 #define NO_ENGINES
 #else
 #include <openssl/engine.h>
@@ -238,9 +239,9 @@
   ERR_free_strings();
 #ifndef NO_ENGINES
   ENGINE_cleanup();
-#endif
   CONF_modules_unload(1);
   CRYPTO_cleanup_all_ex_data();
+#endif
 #ifdef TOR_IS_MULTITHREADED
   if (_n_openssl_mutexes) {
     int n = _n_openssl_mutexes;