comparison src/event/ngx_event_openssl_stapling.c @ 5777:4d092aa2f463

SSL: fix build with OPENSSL_NO_ENGINE and/or OPENSSL_NO_OCSP. This is really just a prerequisite for building against BoringSSL, which doesn't provide either of those features. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
author Piotr Sikora <piotr@cloudflare.com>
date Mon, 28 Jul 2014 12:27:57 -0700
parents 48c97d83ab7f
children ff957cd36860
comparison
equal deleted inserted replaced
5776:d1bde5c3c5d2 5777:4d092aa2f463
9 #include <ngx_core.h> 9 #include <ngx_core.h>
10 #include <ngx_event.h> 10 #include <ngx_event.h>
11 #include <ngx_event_connect.h> 11 #include <ngx_event_connect.h>
12 12
13 13
14 #ifdef SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB 14 #if (!defined OPENSSL_NO_OCSP && defined SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB)
15 15
16 16
17 typedef struct { 17 typedef struct {
18 ngx_str_t staple; 18 ngx_str_t staple;
19 ngx_msec_t timeout; 19 ngx_msec_t timeout;