summaryrefslogtreecommitdiffstats
path: root/crypto/jpake
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2008-11-16 12:47:12 +0000
committerBen Laurie <ben@openssl.org>2008-11-16 12:47:12 +0000
commitf3b7bdadbcd94ae5d0b9f31ac549510621f6963e (patch)
tree19fe9338ac63cd43280cafdae4c59f0a8aeefa8d /crypto/jpake
parentad7159ea8419685a6921816377b7b8b5ec3f8cea (diff)
Integrate J-PAKE and TLS-PSK. Increase PSK buffer size. Fix memory leaks.
Diffstat (limited to 'crypto/jpake')
-rw-r--r--crypto/jpake/jpaketest.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/crypto/jpake/jpaketest.c b/crypto/jpake/jpaketest.c
index c3a83ba3d6..6bf7ee46d9 100644
--- a/crypto/jpake/jpaketest.c
+++ b/crypto/jpake/jpaketest.c
@@ -1,3 +1,15 @@
+#ifndef OPENSSL_EXPERIMENTAL_JPAKE
+
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+ printf("No J-PAKE support\n");
+ return(0);
+}
+
+#else
+
#include <openssl/jpake.h>
#include <openssl/err.h>
@@ -174,3 +186,5 @@ int main(int argc, char **argv)
return 0;
}
+
+#endif