# HG changeset patch # User Piotr Sikora # Date 1404690073 25200 # Node ID febce92c82f617c2f2b3c5c1a3157eb96e4ab08d # Parent ebcd01d080c93743949b1fe756a3ff36b2aa96c8 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 --- 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"