#68 从目录中加载额外的证书和crl。

This commit is contained in:
zhengchao
2018-11-02 20:38:06 +08:00
committed by Lu Qiuwen
parent d0ea605a5b
commit 668c1b3e52
10 changed files with 450 additions and 994 deletions

View File

@@ -6,6 +6,7 @@
#pragma once
#include <MESA/MESA_handle_logger.h>
#include <time.h>
#include <dirent.h> //scan_dir
#define TFE_STRING_MAX 2048
#define TFE_PATH_MAX 256
@@ -156,5 +157,8 @@ static inline unsigned char* tfe_hexdump(unsigned char *dst, unsigned char *src,
return dst;
}
int tfe_scandir(const char *dir, struct dirent ***namelist,
int(*filter)(const struct dirent *),
int(*compar)(const void *, const void *));
const char * tfe_version();