aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-01-22 18:22:04 +0000
committerNick Mathewson <nickm@torproject.org>2006-01-22 18:22:04 +0000
commit45757dafb7287f1d9215a116a792c2fc717d2a59 (patch)
treec5b26c6bfd173d64b14e73e3a022dca96405519f /src/common/crypto.c
parent5100b6791fc6a32598737e368a20b5f5fef0f1c5 (diff)
downloadtor-45757dafb7287f1d9215a116a792c2fc717d2a59.tar
tor-45757dafb7287f1d9215a116a792c2fc717d2a59.tar.gz
Split PARANOIA_B into B1 and B2.
svn:r5849
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 59e19c4b4..b3f53589c 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -228,7 +228,7 @@ crypto_global_init(int useAccel)
void
crypto_thread_cleanup(void)
{
-#ifndef ENABLE_0119_PARANOIA_B
+#ifndef ENABLE_0119_PARANOIA_B1
ERR_remove_state(0);
#endif
}
@@ -1610,7 +1610,7 @@ crypto_dh_free(crypto_dh_env_t *dh)
/* Use RAND_poll if openssl is 0.9.6 release or later. (The "f" means
"release".) */
-#ifndef ENABLE_0119_PARANOIA_B
+#ifndef ENABLE_0119_PARANOIA_B2
#define USE_RAND_POLL (OPENSSL_VERSION_NUMBER >= 0x0090600fl)
#else
#define USE_RAND_POLL 0