Mercurial > hg > nginx-quic
comparison src/event/ngx_event_openssl_stapling.c @ 7509:b99cbafd51da
SSL: removed OpenSSL 0.9.7 compatibility.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 11 Apr 2016 15:46:36 +0300 |
parents | dbebbb25ae92 |
children | abb6cc8f1dd8 |
comparison
equal
deleted
inserted
replaced
7508:c30a20e06c21 | 7509:b99cbafd51da |
---|---|
587 | 587 |
588 | 588 |
589 static void | 589 static void |
590 ngx_ssl_stapling_ocsp_handler(ngx_ssl_ocsp_ctx_t *ctx) | 590 ngx_ssl_stapling_ocsp_handler(ngx_ssl_ocsp_ctx_t *ctx) |
591 { | 591 { |
592 #if OPENSSL_VERSION_NUMBER >= 0x0090707fL | |
593 const | |
594 #endif | |
595 u_char *p; | |
596 int n; | 592 int n; |
597 size_t len; | 593 size_t len; |
598 time_t now, valid; | 594 time_t now, valid; |
599 ngx_str_t response; | 595 ngx_str_t response; |
600 X509_STORE *store; | 596 X509_STORE *store; |
597 const u_char *p; | |
601 STACK_OF(X509) *chain; | 598 STACK_OF(X509) *chain; |
602 OCSP_CERTID *id; | 599 OCSP_CERTID *id; |
603 OCSP_RESPONSE *ocsp; | 600 OCSP_RESPONSE *ocsp; |
604 OCSP_BASICRESP *basic; | 601 OCSP_BASICRESP *basic; |
605 ngx_ssl_stapling_t *staple; | 602 ngx_ssl_stapling_t *staple; |