summaryrefslogtreecommitdiffstats
path: root/test/testssl
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2011-03-16 11:26:40 +0000
committerBen Laurie <ben@openssl.org>2011-03-16 11:26:40 +0000
commita149b2466e8adb97b1fe855d189bac58d3b654dd (patch)
treea8c1960c89edb19bcd34a71aa875cb0f2930e96a /test/testssl
parent13e230d50546a964b5090c1e5df80cc7faf8821c (diff)
Add SRP.
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 f9d7c5d65f..3ab5b029e6 100644
--- a/test/testssl
+++ b/test/testssl
@@ -148,4 +148,14 @@ $ssltest -tls1 -cipher PSK -psk abc123 $extra || exit 1
echo test tls1 with PSK via BIO pair
$ssltest -bio_pair -tls1 -cipher PSK -psk abc123 $extra || 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