From: Piotr Sikora Date: Sun, 6 Jul 2014 23:41:13 +0000 (-0700) Subject: SSL: include correct OpenSSL headers. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=f0e05f3d89315c0513ab01573e822bee0e31dcc4;p=nginx.git SSL: include correct OpenSSL headers. Previously, , , and were pulled in by using OpenSSL's deprecated interface, which meant that nginx couldn't have been built with -DOPENSSL_NO_DEPRECATED. Both and are pulled in by , but we're calling X509 functions directly, so let's include those as well. is pulled in by virtually everything, but we're calling CRYPTO_add() directly, so let's include it as well. Signed-off-by: Piotr Sikora --- diff --git a/src/event/ngx_event_openssl.h b/src/event/ngx_event_openssl.h index 0194602f6..174c8651d 100644 --- a/src/event/ngx_event_openssl.h +++ b/src/event/ngx_event_openssl.h @@ -14,10 +14,17 @@ #include #include +#include #include +#include +#include #include #include #include +#include +#include +#include +#include #define NGX_SSL_NAME "OpenSSL"