forked from Hakase/nginx-build
Add TLS clock skew send.
This commit is contained in:
@@ -370,6 +370,10 @@ ngx_ssl_create(ngx_ssl_t *ssl, ngx_uint_t protocols, void *data)
|
|||||||
SSL_CTX_set_mode(ssl->ctx, SSL_MODE_NO_AUTO_CHAIN);
|
SSL_CTX_set_mode(ssl->ctx, SSL_MODE_NO_AUTO_CHAIN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SSL_MODE_SEND_SERVERHELLO_TIME
|
||||||
|
SSL_CTX_set_mode(ssl->ctx, SSL_MODE_SEND_SERVERHELLO_TIME);
|
||||||
|
#endif
|
||||||
|
|
||||||
SSL_CTX_set_read_ahead(ssl->ctx, 1);
|
SSL_CTX_set_read_ahead(ssl->ctx, 1);
|
||||||
|
|
||||||
SSL_CTX_set_info_callback(ssl->ctx, ngx_ssl_info_callback);
|
SSL_CTX_set_info_callback(ssl->ctx, ngx_ssl_info_callback);
|
||||||
|
|||||||
Reference in New Issue
Block a user