Add TLS clock skew send.

This commit is contained in:
2018-10-13 14:46:11 +09:00
parent faff3eca89
commit fd3f8b9369
+4
View File
@@ -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);