完成tfe中相关功能的开发,回归测试通过。
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
#pragma once
|
||||
#include <event2/event.h>
|
||||
#include <tfe_future.h>
|
||||
#include <tfe_types.h>
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/x509v3.h>
|
||||
|
||||
|
||||
struct ssl_stream;
|
||||
@@ -28,3 +24,11 @@ void ssl_async_downstream_create(struct future * f, struct ssl_mgr * mgr, struct
|
||||
void ssl_stream_free_and_close_fd(struct ssl_stream * stream, struct event_base * evbase, evutil_socket_t fd);
|
||||
void ssl_stream_log_error(struct bufferevent * bev, enum tfe_conn_dir dir, void* logger);
|
||||
|
||||
//Follow functions are allowed to call during runtime.
|
||||
int ssl_manager_add_trust_ca(struct ssl_mgr* mgr, const char* pem_file);
|
||||
int ssl_manager_del_trust_ca(struct ssl_mgr* mgr, const char* pem_file);
|
||||
int ssl_manager_add_crl(struct ssl_mgr* mgr, const char* pem_file);
|
||||
int ssl_manager_del_crl(struct ssl_mgr* mgr, const char* pem_file);
|
||||
void ssl_manager_reset_trust_ca(struct ssl_mgr* mgr);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user