summaryrefslogtreecommitdiffstats
path: root/crypto/jpake
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-11-12 18:27:17 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-11-12 18:27:17 +0000
commita1bb2d6c2fa4433b71c5657a14e2c531cf7057fe (patch)
tree0e9bfa155f3c80aa8d0d8824740ca45e315e8fa1 /crypto/jpake
parent81dde5e8fe0421169e26d5221c8f245e016c652b (diff)
Update mk1mf.pl for new JPAKE options. Update jpaketest.c for WIN32.
Diffstat (limited to 'crypto/jpake')
-rw-r--r--crypto/jpake/jpaketest.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/jpake/jpaketest.c b/crypto/jpake/jpaketest.c
index c3a83ba3d6..a7df76a4cf 100644
--- a/crypto/jpake/jpaketest.c
+++ b/crypto/jpake/jpaketest.c
@@ -1,6 +1,14 @@
#include <openssl/jpake.h>
#include <openssl/err.h>
+#ifndef OPENSSL_EXPERIMENTAL_JPAKE
+int main(int argc, char *argv[])
+{
+ printf("No RSA support\n");
+ return(0);
+}
+#else
+
static void showbn(const char *name, const BIGNUM *bn)
{
fputs(name, stdout);
@@ -174,3 +182,5 @@ int main(int argc, char **argv)
return 0;
}
+
+#endif