aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2017-10-11 15:43:50 -0700
committerAlessandro Ghedini <alessandro@ghedini.me>2017-10-11 15:43:50 -0700
commit5fee8f76b529e38ec0ba6e7e81e26be3e3e85548 (patch)
treebd0d9e88184c863954a941e01d80459f13602315 /src
parent80f2e8f656267251c7d053307b82a382f5bb7744 (diff)
downloadnginx-5fee8f76b529e38ec0ba6e7e81e26be3e3e85548.tar.gz
nginx-5fee8f76b529e38ec0ba6e7e81e26be3e3e85548.zip
SSL: include <openssl/hmac.h>.
This header carries the definition of HMAC_Init_ex(). In OpenSSL this header is included by <openssl/ssl.h>, but it's not so in BoringSSL. It's probably a good idea to explicitly include this header anyway, regardless of whether it's included by other headers or not.
Diffstat (limited to 'src')
-rw-r--r--src/event/ngx_event_openssl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/ngx_event_openssl.h b/src/event/ngx_event_openssl.h
index b9a3a965c..623d851dc 100644
--- a/src/event/ngx_event_openssl.h
+++ b/src/event/ngx_event_openssl.h
@@ -22,6 +22,7 @@
#include <openssl/engine.h>
#endif
#include <openssl/evp.h>
+#include <openssl/hmac.h>
#ifndef OPENSSL_NO_OCSP
#include <openssl/ocsp.h>
#endif