refactor(mqtt): load the CA in memory

This commit is contained in:
gc87
2022-04-17 22:48:41 +08:00
parent 4b09f83a3d
commit 990f83c968
4 changed files with 77 additions and 231 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ typedef struct {
int will_retain;
/* TLS options */
char *ca_path;
char *ca_file;
char *ca;
char *cert;
char *key;
char *keypass;