PR: 1937
[oweals/openssl.git] / crypto / jpake / jpaketest.c
index 1c77f6cda4559ac1e90d67a1e101c0130eea6e43..792fc49eb466defbeef9354ee4f9084ff818a487 100644 (file)
@@ -1,14 +1,20 @@
-#include <openssl/jpake.h>
-#include <openssl/err.h>
+#include <openssl/opensslconf.h>
+
+#ifdef OPENSSL_NO_JPAKE
+
+#include <stdio.h>
 
-#ifndef OPENSSL_EXPERIMENTAL_JPAKE
 int main(int argc, char *argv[])
 {
     printf("No J-PAKE support\n");
     return(0);
 }
+
 #else
 
+#include <openssl/jpake.h>
+#include <openssl/err.h>
+
 static void showbn(const char *name, const BIGNUM *bn)
     {
     fputs(name, stdout);