完成ssl stream的流程梳理和接口定义。

This commit is contained in:
zhengchao
2018-08-23 19:46:38 +08:00
parent 7995af9c77
commit 18a6dda00f
7 changed files with 463 additions and 353 deletions

View File

@@ -2,9 +2,20 @@
#include <string.h>
#include <ssl.h>
struct cert_mgr
{
};
struct tfe_cert_private
{
struct cert head;
pthread_mutex_t mutex;
size_t references;
};
#if 0
/*
* Certificate, including private key and certificate chain.
* Certificate, including private key and cert chain.
*/
cert_t *
@@ -189,7 +200,7 @@ cert_free(cert_t *c)
free(c);
}
struct cert_mgr* cert_manager_init(const char* profile)
struct cert_mgr* cert_mgr_init(const char* profile)
{
}