Mercurial > hg > nginx-quic
comparison src/event/ngx_event_openssl.h @ 8145:7621ffaa79b3 quic
SSL: added the "ssl_keys_file" directive.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 15 Sep 2020 22:44:46 +0300 |
parents | 7995cd199b52 |
children | 93be5658a250 |
comparison
equal
deleted
inserted
replaced
8144:02ee77f8d53d | 8145:7621ffaa79b3 |
---|---|
76 | 76 |
77 struct ngx_ssl_s { | 77 struct ngx_ssl_s { |
78 SSL_CTX *ctx; | 78 SSL_CTX *ctx; |
79 ngx_log_t *log; | 79 ngx_log_t *log; |
80 size_t buffer_size; | 80 size_t buffer_size; |
81 ngx_open_file_t *keylog; | |
81 }; | 82 }; |
82 | 83 |
83 | 84 |
84 struct ngx_ssl_connection_s { | 85 struct ngx_ssl_connection_s { |
85 ngx_ssl_conn_t *connection; | 86 ngx_ssl_conn_t *connection; |
98 ngx_event_handler_pt saved_write_handler; | 99 ngx_event_handler_pt saved_write_handler; |
99 | 100 |
100 ngx_ssl_ocsp_t *ocsp; | 101 ngx_ssl_ocsp_t *ocsp; |
101 | 102 |
102 u_char early_buf; | 103 u_char early_buf; |
104 ngx_open_file_t *keylog; | |
103 | 105 |
104 unsigned handshaked:1; | 106 unsigned handshaked:1; |
105 unsigned renegotiation:1; | 107 unsigned renegotiation:1; |
106 unsigned buffer:1; | 108 unsigned buffer:1; |
107 unsigned no_wait_shutdown:1; | 109 unsigned no_wait_shutdown:1; |
294 void ngx_ssl_free_buffer(ngx_connection_t *c); | 296 void ngx_ssl_free_buffer(ngx_connection_t *c); |
295 ngx_int_t ngx_ssl_shutdown(ngx_connection_t *c); | 297 ngx_int_t ngx_ssl_shutdown(ngx_connection_t *c); |
296 void ngx_cdecl ngx_ssl_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, | 298 void ngx_cdecl ngx_ssl_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, |
297 char *fmt, ...); | 299 char *fmt, ...); |
298 void ngx_ssl_cleanup_ctx(void *data); | 300 void ngx_ssl_cleanup_ctx(void *data); |
301 void ngx_ssl_keylogger(const ngx_ssl_conn_t *ssl, const char *line); | |
299 | 302 |
300 | 303 |
301 extern int ngx_ssl_connection_index; | 304 extern int ngx_ssl_connection_index; |
302 extern int ngx_ssl_server_conf_index; | 305 extern int ngx_ssl_server_conf_index; |
303 extern int ngx_ssl_session_cache_index; | 306 extern int ngx_ssl_session_cache_index; |