Klaus Demo nginx / a7ed095
fix build by gcc46 with -Wunused-value option patch by Maxim Dounin Igor Sysoev 11 years ago
1 changed file(s) with 7 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
17151715 ngx_int_t rc;
17161716 ngx_shm_zone_t *shm_zone;
17171717 ngx_slab_pool_t *shpool;
1718 ngx_connection_t *c;
17191718 ngx_rbtree_node_t *node, *sentinel;
17201719 ngx_ssl_session_t *sess;
17211720 ngx_ssl_sess_id_t *sess_id;
17221721 ngx_ssl_session_cache_t *cache;
17231722 u_char buf[NGX_SSL_MAX_SESSION_SIZE];
1724
1725 c = ngx_ssl_get_connection(ssl_conn);
1723 #if (NGX_DEBUG)
1724 ngx_connection_t *c;
1725 #endif
17261726
17271727 hash = ngx_crc32_short(id, (size_t) len);
17281728 *copy = 0;
17291729
1730 #if (NGX_DEBUG)
1731 c = ngx_ssl_get_connection(ssl_conn);
1732
17301733 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
17311734 "ssl get session: %08XD:%d", hash, len);
1735 #endif
17321736
17331737 shm_zone = SSL_CTX_get_ex_data(SSL_get_SSL_CTX(ssl_conn),
17341738 ngx_ssl_session_cache_index);