mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-21 15:46:52 +08:00
Apply patch for bug #56098: Support for MQTT over TLS port 443 instead of 8883
This commit is contained in:
@@ -94,6 +94,15 @@ struct altcp_tls_config *altcp_tls_create_config_client_2wayauth(const u8_t *ca,
|
||||
const u8_t *privkey_pass, size_t privkey_pass_len,
|
||||
const u8_t *cert, size_t cert_len);
|
||||
|
||||
/** @ingroup altcp_tls
|
||||
* Configure ALPN TLS extension
|
||||
* Example:<br>
|
||||
* static const char *g_alpn_protocols[] = { "x-amzn-mqtt-ca", NULL };<br>
|
||||
* tls_config = altcp_tls_create_config_client(ca, ca_len);<br>
|
||||
* altcp_tls_conf_alpn_protocols(tls_config, g_alpn_protocols);<br>
|
||||
*/
|
||||
int altcp_tls_configure_alpn_protocols(struct altcp_tls_config *conf, const char **protos);
|
||||
|
||||
/** @ingroup altcp_tls
|
||||
* Free an ALTCP_TLS configuration handle
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user