Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of HelloMQTT by
Revision 42:c88d777f2e00, committed 2018-06-13
- Comitter:
- Osamu Koizumi
- Date:
- Wed Jun 13 14:42:00 2018 +0900
- Parent:
- 41:deed7540b456
- Child:
- 43:4dfeeaa9713e
- Commit message:
- Updated TLSSocket and change HelloMQTT to adopt it.
Changed in this revision
| MQTTNetwork.h | Show annotated file Show diff for this revision Revisions of this file |
| TLSSocket.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/MQTTNetwork.h Mon Jun 11 17:54:18 2018 +0900
+++ b/MQTTNetwork.h Wed Jun 13 14:42:00 2018 +0900
@@ -41,7 +41,8 @@
return ret;
}
#ifdef USE_TLS
- socket->set_cert_key(ssl_ca_pem, ssl_cli_pem, ssl_pk_pem);
+ socket->set_root_ca_cert(ssl_ca_pem);
+ socket->set_client_cert_key(ssl_cli_pem, ssl_pk_pem);
#endif /* USE_TLS */
return socket->connect(hostname, port);
}
--- a/TLSSocket.lib Mon Jun 11 17:54:18 2018 +0900 +++ b/TLSSocket.lib Wed Jun 13 14:42:00 2018 +0900 @@ -1,1 +1,1 @@ -https://github.com/coisme/TLSSocket/#572dd6082257f27ac36374eb424df3e9114fb892 +https://github.com/coisme/TLSSocket/#c4f675b809d69680a18d1cb94f90646a1b415d19
