summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-07-15 01:01:39 +0200
committerDan Fandrich <dan@coneharvesters.com>2014-07-15 01:01:39 +0200
commit4da6e0c966dc74d51720df5c5ec7ce00e364655f (patch)
treefee483d97b0e482f2fb1c4e7f37e3d6ea8640d24
parent9087b7e8f51ef9876f228c2ddc49ab28d74f1759 (diff)
downloadgnurl-4da6e0c966dc74d51720df5c5ec7ce00e364655f.tar.gz
gnurl-4da6e0c966dc74d51720df5c5ec7ce00e364655f.tar.bz2
gnurl-4da6e0c966dc74d51720df5c5ec7ce00e364655f.zip
test320: strip off the actual negotiated cipher width
It's irrelevant to the test, and will change depending on which SSL library is being used by libcurl.
-rw-r--r--tests/data/test3209
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/data/test320 b/tests/data/test320
index 4f621c759..8f6df05c9 100644
--- a/tests/data/test320
+++ b/tests/data/test320
@@ -25,9 +25,9 @@ Content-type: text/html
<TABLE border=1><TR><TD>Protocol version:</TD><TD>TLS1.2</TD></TR>
<TR><TD>Key Exchange:</TD><TD>SRP</TD></TR>
<TR><TD>Compression</TD><TD>NULL</TD></TR>
-<TR><TD>Cipher</TD><TD>AES-128-CBC</TD></TR>
+<TR><TD>Cipher</TD><TD>AES-NNN-CBC</TD></TR>
<TR><TD>MAC</TD><TD>SHA1</TD></TR>
-<TR><TD>Ciphersuite</TD><TD>SRP_SHA_AES_128_CBC_SHA1</TD></TR></p></TABLE>
+<TR><TD>Ciphersuite</TD><TD>SRP_SHA_AES_NNN_CBC_SHA1</TD></TR></p></TABLE>
<hr><P>Your HTTP header was:<PRE>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: */*
@@ -74,9 +74,9 @@ Content-type: text/html
<TABLE border=1><TR><TD></TD></TR>
<TR><TD>Key Exchange:</TD><TD>SRP</TD></TR>
<TR><TD>Compression</TD><TD>NULL</TD></TR>
-<TR><TD>Cipher</TD><TD>AES-128-CBC</TD></TR>
+<TR><TD>Cipher</TD><TD>AES-NNN-CBC</TD></TR>
<TR><TD>MAC</TD><TD>SHA1</TD></TR>
-<TR><TD>Ciphersuite</TD><TD>SRP_SHA_AES_128_CBC_SHA1</TD></TR></p></TABLE>
+<TR><TD>Ciphersuite</TD><TD>SRP_SHA_AES_NNN_CBC_SHA1</TD></TR></p></TABLE>
<PRE>
Host: %HOSTIP:%HTTPTLSPORT
Accept: */*
@@ -90,6 +90,7 @@ s/^<p>Session ID:.*//
s/^<hr><P>Your HTTP header was:<PRE>.*/<PRE>/
s/Protocol version:.*[0-9]//
s/GNUTLS/GnuTLS/
+s/(AES[-_])\d\d\d([-_]CBC)/$1NNN$2/
</stripfile>
</verify>