summaryrefslogtreecommitdiffstats
path: root/test/testssl
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2011-03-12 17:01:19 +0000
committerBen Laurie <ben@openssl.org>2011-03-12 17:01:19 +0000
commitedc032b5e3f3ebb1006a9c89e0ae00504f47966f (patch)
tree34145e288daa107b0f9fcb951abd786804624081 /test/testssl
parent0c4e67102eb8a05ab1f6673b670a09ce89aeb568 (diff)
Add SRP support.
Diffstat (limited to 'test/testssl')
-rw-r--r--test/testssl10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/testssl b/test/testssl
index ad32bccdca..530a252008 100644
--- a/test/testssl
+++ b/test/testssl
@@ -159,4 +159,14 @@ $ssltest -bio_pair -tls1 -npn_client -npn_server || exit 1
$ssltest -bio_pair -tls1 -npn_client -npn_server -num 2 || exit 1
$ssltest -bio_pair -tls1 -npn_client -npn_server -num 2 -reuse || exit 1
+if ../util/shlib_wrap.sh ../apps/openssl no-srp; then
+ echo skipping SRP tests
+else
+ echo test tls1 with SRP
+ $ssltest -tls1 -cipher SRP -srpuser test -srppass abc123
+
+ echo test tls1 with SRP via BIO pair
+ $ssltest -bio_pair -tls1 -cipher SRP -srpuser test -srppass abc123
+fi
+
exit 0