summaryrefslogtreecommitdiffstats
path: root/crypto/jpake
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-11-13 15:08:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-11-13 15:08:33 +0000
commita581439bb1a5587fadbb7d7837bf9aa1b460d4da (patch)
tree91d268282e89067ee8abcc36e5f3c7af9037d5ce /crypto/jpake
parenta43337e8c415f5a47e8c24130a64d1ab72e395b4 (diff)
Fixes for "make depend". Features which need a #define to be set to
enable them, like FIPS and JPAKE need to have these set when building dependencies.
Diffstat (limited to 'crypto/jpake')
-rw-r--r--crypto/jpake/jpake.h3
-rw-r--r--crypto/jpake/jpaketest.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/crypto/jpake/jpake.h b/crypto/jpake/jpake.h
index f5f95e89a0..0457a5c9a6 100644
--- a/crypto/jpake/jpake.h
+++ b/crypto/jpake/jpake.h
@@ -11,6 +11,8 @@
#include <openssl/opensslconf.h>
#ifndef OPENSSL_EXPERIMENTAL_JPAKE
+#error JPAKE is disabled
+#endif
#ifdef __cplusplus
extern "C" {
@@ -125,4 +127,3 @@ void ERR_load_JPAKE_strings(void);
}
#endif
#endif
-#endif
diff --git a/crypto/jpake/jpaketest.c b/crypto/jpake/jpaketest.c
index 1c77f6cda4..5f26b12289 100644
--- a/crypto/jpake/jpaketest.c
+++ b/crypto/jpake/jpaketest.c
@@ -1,4 +1,3 @@
-#include <openssl/jpake.h>
#include <openssl/err.h>
#ifndef OPENSSL_EXPERIMENTAL_JPAKE
@@ -8,6 +7,7 @@ int main(int argc, char *argv[])
return(0);
}
#else
+#include <openssl/jpake.h>
static void showbn(const char *name, const BIGNUM *bn)
{