aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/buildh.in
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-11 02:20:08 +0000
committerlloyd <[email protected]>2008-11-11 02:20:08 +0000
commitdaffc235589fb8ec2f4090ba5fb8511462b4a843 (patch)
tree22649e0764d0bf280aa89b5eca5316d6082e37f0 /src/build-data/buildh.in
parent3dbf2df27a12fd3daf8f42d58659f327fbd5609c (diff)
Make the level of key consistency checking performed be a build constant
instead of runtime configurable.
Diffstat (limited to 'src/build-data/buildh.in')
-rw-r--r--src/build-data/buildh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 87ff62b72..d49f976fb 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -22,6 +22,11 @@
#define BOTAN_KARAT_SQR_THRESHOLD 32
#define BOTAN_PRIVATE_KEY_OP_BLINDING_BITS 64
+/* PK key consistency checking toggles */
+#define BOTAN_PUBLIC_KEY_STRONG_CHECKS_ON_LOAD 1
+#define BOTAN_PRIVATE_KEY_STRONG_CHECKS_ON_LOAD 1
+#define BOTAN_PRIVATE_KEY_STRONG_CHECKS_ON_GENERATE 1
+
/* Should we use GCC-style inline assembler? */
#if !defined(BOTAN_USE_GCC_INLINE_ASM) && defined(__GNUG__)
#define BOTAN_USE_GCC_INLINE_ASM 1