summaryrefslogtreecommitdiffstats
path: root/crypto/jpake
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-11-12 16:54:35 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-11-12 16:54:35 +0000
commit81dde5e8fe0421169e26d5221c8f245e016c652b (patch)
tree56faaec988b3bb60ac97289afce5be32a7cf0575 /crypto/jpake
parentb84e44186131ec32cc69e6ba7f6c391ef3e6a507 (diff)
Add support for experimental code, not compiled in by default and
with OPENSSL_EXPERIMENTAL_FOO around it. Make JPAKE experimental.
Diffstat (limited to 'crypto/jpake')
-rw-r--r--crypto/jpake/jpake.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/jpake/jpake.h b/crypto/jpake/jpake.h
index becc66c334..a39a9a877f 100644
--- a/crypto/jpake/jpake.h
+++ b/crypto/jpake/jpake.h
@@ -8,6 +8,12 @@
#ifndef HEADER_JPAKE_H
#define HEADER_JPAKE_H
+#include <openssl/opensslconf.h>
+
+#ifndef OPENSSL_EXPERIMENTAL_JPAKE
+#error JPAKE is disabled.
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif