mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 18:25:35 +00:00
Update output of example-tls-client in its readme
This commit is contained in:
parent
0819e6f50c
commit
1a18aaecde
|
@ -49,16 +49,19 @@ To build and run this example the requirements below are necessary:
|
||||||
9. The output in the terminal window should look like:
|
9. The output in the terminal window should look like:
|
||||||
|
|
||||||
```
|
```
|
||||||
{timeout;120}}
|
{{timeout;120}}
|
||||||
{{host_test_name;default}}
|
{{host_test_name;default}}
|
||||||
{{description;mbed TLS example HTTPS client}}
|
{{description;mbed TLS example HTTPS client}}
|
||||||
{{test_id;MBEDTLS_EX_HTTPS_CLIENT}}
|
{{test_id;MBEDTLS_EX_HTTPS_CLIENT}}
|
||||||
{{start}}
|
{{start}}
|
||||||
|
|
||||||
|
|
||||||
Client IP Address is 192.168.0.2
|
Client IP Address is 192.168.0.2
|
||||||
Connecting to developer.mbed.org:443
|
Starting DNS lookup for developer.mbed.org
|
||||||
developer.mbed.org address: 217.140.101.20
|
DNS Response Received:
|
||||||
|
developer.mbed.org: 217.140.101.30
|
||||||
|
Connecting to 217.140.101.30:443
|
||||||
|
Connected to 217.140.101.30:443
|
||||||
|
Starting the TLS handshake...
|
||||||
TLS connection to developer.mbed.org established
|
TLS connection to developer.mbed.org established
|
||||||
Server certificate:
|
Server certificate:
|
||||||
cert. version : 3
|
cert. version : 3
|
||||||
|
@ -75,25 +78,25 @@ To build and run this example the requirements below are necessary:
|
||||||
ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
|
ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
|
||||||
Certificate verification passed
|
Certificate verification passed
|
||||||
|
|
||||||
HTTPS: Received 469 chars from server
|
HTTPS: Received 473 chars from server
|
||||||
HTTPS: Received 200 OK status ... [OK]
|
HTTPS: Received 200 OK status ... [OK]
|
||||||
HTTPS: Received 'Hello world!' status ... [OK]
|
HTTPS: Received 'Hello world!' status ... [OK]
|
||||||
HTTPS: Received message:
|
HTTPS: Received message:
|
||||||
|
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Server: nginx/1.7.10
|
Server: nginx/1.7.10
|
||||||
Date: Mon, 17 Aug 2015 11:46:19 GMT
|
Date: Tue, 18 Aug 2015 18:34:04 GMT
|
||||||
Content-Type: text/plain
|
Content-Type: text/plain
|
||||||
Content-Length: 14
|
Content-Length: 14
|
||||||
Connection: keep-alive
|
Connection: keep-alive
|
||||||
Last-Modified: Fri, 27 Jul 2012 13:30:34 GMT
|
Last-Modified: Fri, 27 Jul 2012 13:30:34 GMT
|
||||||
Accept-Ranges: bytes
|
Accept-Ranges: bytes
|
||||||
Cache-Control: max-age=36000
|
Cache-Control: max-age=36000
|
||||||
Expires: Mon, 17 Aug 2015 21:46:19 GMT
|
Expires: Wed, 19 Aug 2015 04:34:04 GMT
|
||||||
X-Upstream-L3: 172.17.42.1:8080
|
X-Upstream-L3: 172.17.42.1:8080
|
||||||
X-Upstream-L2: developer-sjc-cyan-1-nginx
|
X-Upstream-L2: developer-sjc-indigo-2-nginx
|
||||||
X-Upstream-L1-next-hop: 217.140.101.22:8001
|
X-Upstream-L1-next-hop: 217.140.101.86:8001
|
||||||
X-Upstream-L1: developer-sjc-cyan-border-nginx
|
X-Upstream-L1: developer-sjc-indigo-border-nginx
|
||||||
|
|
||||||
Hello world!
|
Hello world!
|
||||||
{{success}}
|
{{success}}
|
||||||
|
|
|
@ -495,7 +495,6 @@ void app_start(int, char*[]) {
|
||||||
|
|
||||||
hello = new HelloHTTPS(HTTPS_SERVER_NAME, HTTPS_SERVER_PORT);
|
hello = new HelloHTTPS(HTTPS_SERVER_NAME, HTTPS_SERVER_PORT);
|
||||||
|
|
||||||
printf("\r\n\r\n");
|
|
||||||
printf("Client IP Address is %s\r\n", eth.getIPAddress());
|
printf("Client IP Address is %s\r\n", eth.getIPAddress());
|
||||||
|
|
||||||
mbed::FunctionPointer1<void, const char*> fp(hello, &HelloHTTPS::startTest);
|
mbed::FunctionPointer1<void, const char*> fp(hello, &HelloHTTPS::startTest);
|
||||||
|
|
Loading…
Reference in a new issue