PR: 1937
[oweals/openssl.git] / crypto / jpake / jpaketest.c
index 5f26b12289248498b93327237b7bb8a4eea578e9..792fc49eb466defbeef9354ee4f9084ff818a487 100644 (file)
@@ -1,13 +1,19 @@
-#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)
     {