aboutsummaryrefslogtreecommitdiff
path: root/rcynic
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-09-14 03:26:41 +0000
committerRob Austein <sra@hactrn.net>2012-09-14 03:26:41 +0000
commitb51426395b2c9542989d74678906901b4db0a4ad (patch)
tree041390bebe2b592c20da4f0af94aaa83586f4a05 /rcynic
parent1ca7d311c26b0e5b3a7895a2d82826db25a38643 (diff)
Disable AVL_PARANOIA code.
svn path=/branches/tk274/; revision=4714
Diffstat (limited to 'rcynic')
-rw-r--r--rcynic/rcynic.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/rcynic/rcynic.c b/rcynic/rcynic.c
index 5eece8b2..ccf91d6b 100644
--- a/rcynic/rcynic.c
+++ b/rcynic/rcynic.c
@@ -30,9 +30,6 @@
/* $Id$ */
-#warning Clean up AVL_PARANOIA junk as soon as we know new code works properly
-#define AVL_PARANOIA 1
-
/**
* @mainpage
*
@@ -85,6 +82,16 @@
#include "defstack.h"
#include "defasn1.h"
+/*
+ * Whether to run the old slow STACK-based validation_status lookup in
+ * parallel to the new faster AVL-based mechanism. The code
+ * controlled by this option will probably go away soon, it's just here
+ * in case we run into trouble while testing the new code.
+ */
+#ifndef AVL_PARANOIA
+#define AVL_PARANOIA 0
+#endif
+
#if !defined(FILENAME_MAX) && defined(PATH_MAX) && PATH_MAX > 1024
#define FILENAME_MAX PATH_MAX
#elif !defined(FILENAME_MAX)