PR: 1937
[oweals/openssl.git] / crypto / jpake / jpaketest.c
index a7df76a4cfd8efb4f862280a547efac5239185a9..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 RSA support\n");
+    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);