From 59cf93ccdbaa5e866f9de6b2d9b1ae5cee84863f Mon Sep 17 00:00:00 2001
From: Quinn Slack
Date: Wed, 19 Jan 2011 20:35:02 +0100
Subject: TLS-SRP: support added when using GnuTLS
---
tests/data/test320 | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 95 insertions(+)
create mode 100644 tests/data/test320
(limited to 'tests/data/test320')
diff --git a/tests/data/test320 b/tests/data/test320
new file mode 100644
index 000000000..bfef00cb2
--- /dev/null
+++ b/tests/data/test320
@@ -0,0 +1,95 @@
+
+
+
+HTTPS
+HTTP GET
+TLS-SRP
+
+
+
+# Server-side
+
+
+HTTP/1.0 200 OK
+Content-type: text/html
+
+
+
+
+
+
+Session ID: 003030000100000001000000000000000030330001000000B062410001000000
+If your browser supports session resuming, then you should see the same session ID, when you press the reload button.
+Connected as user 'jsmith'.
+
+
| Protocol version: | TLS1.2 |
+| Key Exchange: | SRP |
+| Compression | NULL |
+| Cipher | AES-128-CBC |
+| MAC | SHA1 |
+| Ciphersuite | SRP_SHA_AES_128_CBC_SHA1 |
+
Your HTTP header was:
User-Agent: curl/7.21.4-DEV (x86_64-apple-darwin10.5.0) libcurl/7.21.4-DEV GnuTLS/2.10.4 zlib/1.2.5 libidn/1.19
+Host: localhost:9011
+Accept: */*
+
+
+
+
+
+
+
+# Client-side
+
+
+http+tls-srp
+
+
+TLS-SRP
+
+
+simple TLS-SRP HTTPS GET, check user in response
+
+
+--insecure --tlsauthtype SRP --tlsuser jsmith --tlspassword abc https://%HOSTIP:%HTTPTLSSRPPORT
+
+
+
+# Verify data after the test has been "shot"
+
+
+
+
+HTTP/1.0 200 OK
+Content-type: text/html
+
+
+
+
+
+
+
+If your browser supports session resuming, then you should see the same session ID, when you press the reload button.
+Connected as user 'jsmith'.
+
+
|
+ |
| Key Exchange: | SRP |
+| Compression | NULL |
+| Cipher | AES-128-CBC |
+| MAC | SHA1 |
+| Ciphersuite | SRP_SHA_AES_128_CBC_SHA1 |
+
+Host: %HOSTIP:%HTTPTLSSRPPORT
+Accept: */*
+
+
+
+
+
+
+s/^Session ID:.*//
+s/^
Your HTTP header was:.*//
+s/Protocol version:.*//
+
+
+
+
--
cgit v1.2.3