[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Strings allocated for altcp_tls_create_config_client_2wayau
From: |
Freddie Chopin |
Subject: |
[lwip-users] Strings allocated for altcp_tls_create_config_client_2wayauth() |
Date: |
Mon, 18 May 2020 11:51:52 +0200 |
User-agent: |
Evolution 3.36.2 |
Hello!
I'm wondering what's the correct usage of
altcp_tls_create_config_client_2wayauth() and
altcp_tls_create_config_client() in regard to allocation of strings
with certificates, keys and passwords. Should the buffers with them be
kept "alive" as long as the connection is active, or maybe I can
release them right after these functions return, because lwIP and/or
mbed TLS copy whatever they need and keep it internally?
Thanks in advance!
Regards,
FCh
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] Strings allocated for altcp_tls_create_config_client_2wayauth(),
Freddie Chopin <=