Annotation of embedaddon/curl/tests/data/test320, revision 1.1.1.1

1.1       misho       1: <testcase>
                      2: <info>
                      3: <keywords>
                      4: HTTPS
                      5: HTTP GET
                      6: TLS-SRP
                      7: </keywords>
                      8: </info>
                      9: 
                     10: # Server-side
                     11: <reply>
                     12: <data nocheck="yes">
                     13: HTTP/1.0 200 OK
                     14: Content-type: text/html
                     15: 
                     16: 
                     17: <HTML><BODY>
                     18: <CENTER><H1>This is <a href="http://www.gnu.org/software/gnutls">GnuTLS</a></H1></CENTER>
                     19: 
                     20: 
                     21: <p>Session ID: <i>003030000100000001000000000000000030330001000000B062410001000000</i></p>
                     22: <h5>If your browser supports session resuming, then you should see the same session ID, when you press the <b>reload</b> button.</h5>
                     23: <p>Connected as user 'jsmith'.</p>
                     24: <P>
                     25: <TABLE border=1><TR><TD>Protocol version:</TD><TD>TLS1.2</TD></TR>
                     26: <TR><TD>Key Exchange:</TD><TD>SRP</TD></TR>
                     27: <TR><TD>Compression</TD><TD>NULL</TD></TR>
                     28: <TR><TD>Cipher</TD><TD>AES-NNN-CBC</TD></TR>
                     29: <TR><TD>MAC</TD><TD>SHA1</TD></TR>
                     30: <TR><TD>Ciphersuite</TD><TD>SRP_SHA_AES_NNN_CBC_SHA1</TD></TR></p></TABLE>
                     31: <hr><P>Your HTTP header was:<PRE>Host: localhost:9011
                     32: User-Agent: curl-test-suite
                     33: Accept: */*
                     34: 
                     35: </PRE></P>
                     36: </BODY></HTML>
                     37: 
                     38: </data>
                     39: </reply>
                     40: 
                     41: # Client-side
                     42: <client>
                     43: <server>
                     44: httptls+srp
                     45: </server>
                     46: <features>
                     47: TLS-SRP
                     48: </features>
                     49:  <name>
                     50: simple TLS-SRP HTTPS GET, check user in response
                     51:  </name>
                     52: <command>
                     53: --insecure --tlsauthtype SRP --tlsuser jsmith --tlspassword abc -A curl-test-suite https://%HOSTIP:%HTTPTLSPORT
                     54: </command>
                     55: </client>
                     56: 
                     57: # Verify data after the test has been "shot"
                     58: <verify>
                     59: <protocol>
                     60: </protocol>
                     61: <file name="log/curl320.out">
                     62: HTTP/1.0 200 OK
                     63: Content-type: text/html
                     64: 
                     65: FINE
                     66: User-Agent: curl-test-suite
                     67: Accept: */*
                     68: 
                     69: </file>
                     70: <stripfile>
                     71: s/^<p>Connected as user 'jsmith'.*/FINE/
                     72: s/Protocol version:.*[0-9]//
                     73: s/GNUTLS/GnuTLS/
                     74: s/(AES[-_])\d\d\d([-_]CBC)/$1NNN$2/
                     75: s/^<.*\n//
                     76: s/^\n//
                     77: </stripfile>
                     78: </verify>
                     79: 
                     80: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>