mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
mbedtls: remove mbedtls_x509_crt_info reference
Nobody uses this from the wrapper... it brings in mbedtls_x509_crt_info() even if you're using -ffunctionsections for a loss of about 1.7KB on Arm. Let's chop it out...
This commit is contained in:
parent
a0a1c9c65f
commit
39b05e7db3
1 changed files with 4 additions and 0 deletions
|
@ -551,6 +551,7 @@ OSSL_HANDSHAKE_STATE ssl_pm_get_state(const SSL *ssl)
|
|||
|
||||
int x509_pm_show_info(X509 *x)
|
||||
{
|
||||
#if 0
|
||||
int ret;
|
||||
char *buf;
|
||||
mbedtls_x509_crt *x509_crt;
|
||||
|
@ -590,6 +591,9 @@ mbedtls_err1:
|
|||
ssl_mem_free(buf);
|
||||
no_mem:
|
||||
return -1;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
int x509_pm_new(X509 *x, X509 *m_x)
|
||||
|
|
Loading…
Add table
Reference in a new issue