forked from Hakase/nginx-build
Style: Removing obsolete code.
This commit is contained in:
@@ -55,6 +55,11 @@
|
||||
#define ngx_ssl_conn_t SSL
|
||||
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER < 0x10002000L)
|
||||
#define SSL_is_server(s) (s)->server
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct {
|
||||
ngx_msec_t timeout;
|
||||
ngx_uint_t threshold;
|
||||
@@ -63,11 +68,6 @@ typedef struct {
|
||||
} ngx_ssl_dyn_rec_t;
|
||||
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER < 0x10002000L)
|
||||
#define SSL_is_server(s) (s)->server
|
||||
#endif
|
||||
|
||||
|
||||
struct ngx_ssl_s {
|
||||
SSL_CTX *ctx;
|
||||
ngx_log_t *log;
|
||||
|
||||
Reference in New Issue
Block a user