projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Integrate J-PAKE and TLS-PSK. Increase PSK buffer size. Fix memory leaks.
[openssl.git]
/
crypto
/
jpake
/
jpaketest.c
diff --git
a/crypto/jpake/jpaketest.c
b/crypto/jpake/jpaketest.c
index c3a83ba3d6a58a240648c925b3d8b4ec0510d461..6bf7ee46d912522eb45e4beebb98d4bdda0eddc8 100644
(file)
--- 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