From: Dan Fandrich Date: Mon, 14 Jul 2014 23:01:39 +0000 (+0200) Subject: test320: strip off the actual negotiated cipher width X-Git-Tag: upstream/7.37.1~4 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fcurl.git;a=commitdiff_plain;h=4da6e0c966dc74d51720df5c5ec7ce00e364655f 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. --- diff --git a/tests/data/test320 b/tests/data/test320 index 4f621c7..8f6df05 100644 --- a/tests/data/test320 +++ b/tests/data/test320 @@ -25,9 +25,9 @@ Content-type: text/html - + -

Protocol version:TLS1.2
Key Exchange:SRP
CompressionNULL
CipherAES-128-CBC
CipherAES-NNN-CBC
MACSHA1
CiphersuiteSRP_SHA_AES_128_CBC_SHA1
+CiphersuiteSRP_SHA_AES_NNN_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: */*
@@ -74,9 +74,9 @@ Content-type: text/html
 
-
+
-

Key Exchange:SRP
CompressionNULL
CipherAES-128-CBC
CipherAES-NNN-CBC
MACSHA1
CiphersuiteSRP_SHA_AES_128_CBC_SHA1
+CiphersuiteSRP_SHA_AES_NNN_CBC_SHA1

 Host: %HOSTIP:%HTTPTLSPORT
 Accept: */*
@@ -90,6 +90,7 @@ s/^

Session ID:.*// s/^


Your HTTP header was:

.*/
/
 s/Protocol version:.*[0-9]//
 s/GNUTLS/GnuTLS/
+s/(AES[-_])\d\d\d([-_]CBC)/$1NNN$2/