changeset 7132:8076ba459f05

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.
author Alessandro Ghedini <alessandro@ghedini.me>
date Wed, 11 Oct 2017 15:43:50 -0700
parents 6a5a91de5b74
children dc3b3cfd5d23
files src/event/ngx_event_openssl.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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