Klaus Demo nginx / 7eea509
OCSP stapling: build fixes. With the "ssl_stapling_verify" commit build with old OpenSSL libraries was broken due to incorrect prototype of the ngx_ssl_stapling() function. One incorrect use of ngx_log_debug() instead of ngx_log_debug2() slipped in and broke win32 build. Maxim Dounin 9 years ago
1 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
11411141 escape = ngx_escape_uri(NULL, base64.data, base64.len,
11421142 NGX_ESCAPE_URI_COMPONENT);
11431143
1144 ngx_log_debug(NGX_LOG_DEBUG_EVENT, ctx->log, 0,
1145 "ssl ocsp request length %z, escape %d",
1146 base64.len, escape);
1144 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, ctx->log, 0,
1145 "ssl ocsp request length %z, escape %d",
1146 base64.len, escape);
11471147
11481148 len = sizeof("GET ") - 1 + ctx->uri.len + sizeof("/") - 1
11491149 + base64.len + 2 * escape + sizeof(" HTTP/1.0" CRLF) - 1
17281728
17291729
17301730 ngx_int_t
1731 ngx_ssl_stapling(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *responder,
1732 ngx_str_t *file)
1731 ngx_ssl_stapling(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *file,
1732 ngx_str_t *responder, ngx_uint_t verify)
17331733 {
17341734 ngx_log_error(NGX_LOG_WARN, ssl->log, 0,
17351735 "\"ssl_stapling\" ignored, not supported");