完成ssl stream的流程梳理和接口定义。
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user