Properly guard X.509 functions to allow compiling FTL without mbedTLS library being available, also improve how definitions are done in src/CMakeLists.txt and reduce instruction-duplication on the way

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2024-05-18 16:33:14 +02:00
parent a07810695c
commit e286d4b147
8 changed files with 60 additions and 51 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
#include "../files.h"
// get_web_theme_str
#include "../datastructure.h"
#if HAVE_READLINE
#if LUA_USE_READLINE
#include <readline/history.h>
#endif
#include <wordexp.h>