ssl stream和ssl policy对接tfe_cmsg_xx。
This commit is contained in:
@@ -4,7 +4,7 @@ struct ssl_stream;
|
||||
|
||||
enum ssl_stream_action
|
||||
{
|
||||
SSL_ACTION_PASSTHROUGH,
|
||||
SSL_ACTION_PASSTHROUGH=0,
|
||||
SSL_ACTION_INTERCEPT,
|
||||
SSL_ACTION_SHUTDOWN
|
||||
};
|
||||
@@ -12,6 +12,7 @@ typedef enum ssl_stream_action ssl_stream_new_hook(struct ssl_stream *upstream,
|
||||
|
||||
enum SSL_STREAM_OPT
|
||||
{
|
||||
SSL_STREAM_OPT_INTERCEPT_POLICY_ID,
|
||||
SSL_STREAM_OPT_IS_EV_CERT, //0:FALSE, 1:TRUE.
|
||||
SSL_STREAM_OPT_IS_CT_CERT, //0:FALSE, 1:TRUE.
|
||||
SSL_STREAM_OPT_IS_MUTUAL_AUTH, //0:FALSE, 1:TRUE.
|
||||
|
||||
Reference in New Issue
Block a user