]> git.kaiwu.me - nginx.git/commitdiff
SSL: include <openssl/hmac.h>.
authorAlessandro Ghedini <alessandro@ghedini.me>
Wed, 11 Oct 2017 22:43:50 +0000 (15:43 -0700)
committerAlessandro Ghedini <alessandro@ghedini.me>
Wed, 11 Oct 2017 22:43:50 +0000 (15:43 -0700)
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.

src/event/ngx_event_openssl.h

index b9a3a965c1515608e4860bfa6ca99e8d6f14ddd2..623d851dc4e6162a546ca84bb79168ab8e25f54d 100644 (file)
@@ -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