Lines 28-34
Link Here
|
28 |
#include <openssl/hmac.h> |
28 |
#include <openssl/hmac.h> |
29 |
#include <openssl/opensslv.h> |
29 |
#include <openssl/opensslv.h> |
30 |
|
30 |
|
31 |
#if OPENSSL_VERSION_NUMBER < 0x10100000L |
31 |
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) |
32 |
#include <stdlib.h> /* malloc, free */ |
32 |
#include <stdlib.h> /* malloc, free */ |
33 |
#include <string.h> /* memset */ |
33 |
#include <string.h> /* memset */ |
34 |
static inline HMAC_CTX *HMAC_CTX_new(void) |
34 |
static inline HMAC_CTX *HMAC_CTX_new(void) |