]> git.kaiwu.me - nginx.git/commit
SSL: include correct OpenSSL headers.
authorPiotr Sikora <piotr@cloudflare.com>
Sun, 6 Jul 2014 23:41:13 +0000 (16:41 -0700)
committerPiotr Sikora <piotr@cloudflare.com>
Sun, 6 Jul 2014 23:41:13 +0000 (16:41 -0700)
commitf0e05f3d89315c0513ab01573e822bee0e31dcc4
treeedff15a591a7e2f73fa513fc33577e583dc9c8fe
parent098c6bd81f7df201708a3bc59f9318eda60878fa
SSL: include correct OpenSSL headers.

Previously, <bn.h>, <dh.h>, <rand.h> and <rsa.h> were pulled in
by <engine.h> using OpenSSL's deprecated interface, which meant
that nginx couldn't have been built with -DOPENSSL_NO_DEPRECATED.

Both <x509.h> and <x509v3.h> are pulled in by <ocsp.h>, but we're
calling X509 functions directly, so let's include those as well.

<crypto.h> 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 <piotr@cloudflare.com>
src/event/ngx_event_openssl.h