Drop CRL from mbedTLS integration - let customer do a custom init if required

This commit is contained in:
Sergey Lyubka committed 2022-04-01 16:42:41 +01:00
1 parent df602c27d5
commit d954851d43
6 files changed
+8 -31

No files matched your search

+1 -1
View File
@@ -483,6 +483,7 @@ typedef int socklen_t;
#define strerror(x) zsock_gai_strerror(x)
#define FD_CLOEXEC 0
#define F_SETFD 0
#define MG_ENABLE_SSI 0
int rand(void);
int sscanf(const char *, const char *, ...);
@@ -1063,7 +1064,6 @@ void mg_tls_handshake(struct mg_connection *);
struct mg_tls {
char *cafile; // CA certificate path
mbedtls_x509_crt ca; // Parsed CA certificate
mbedtls_x509_crl crl; // Parsed Certificate Revocation List
mbedtls_x509_crt cert; // Parsed certificate
mbedtls_ssl_context ssl; // SSL/TLS context
mbedtls_ssl_config conf; // SSL-TLS config