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.
This commit is contained in:
Alessandro Ghedini 2017-10-11 15:43:50 -07:00
parent 80f2e8f656
commit 5fee8f76b5

View File

@ -22,6 +22,7 @@
#include <openssl/engine.h> #include <openssl/engine.h>
#endif #endif
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/hmac.h>
#ifndef OPENSSL_NO_OCSP #ifndef OPENSSL_NO_OCSP
#include <openssl/ocsp.h> #include <openssl/ocsp.h>
#endif #endif