diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/hmac/hmac.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/hmac/hmac.h b/src/lib/libcrypto/hmac/hmac.h index 223eeda7f3..328bad2608 100644 --- a/src/lib/libcrypto/hmac/hmac.h +++ b/src/lib/libcrypto/hmac/hmac.h | |||
| @@ -58,10 +58,6 @@ | |||
| 58 | #ifndef HEADER_HMAC_H | 58 | #ifndef HEADER_HMAC_H |
| 59 | #define HEADER_HMAC_H | 59 | #define HEADER_HMAC_H |
| 60 | 60 | ||
| 61 | #ifdef __cplusplus | ||
| 62 | extern "C" { | ||
| 63 | #endif | ||
| 64 | |||
| 65 | #ifdef NO_HMAC | 61 | #ifdef NO_HMAC |
| 66 | #error HMAC is disabled. | 62 | #error HMAC is disabled. |
| 67 | #endif | 63 | #endif |
| @@ -70,6 +66,10 @@ extern "C" { | |||
| 70 | 66 | ||
| 71 | #define HMAC_MAX_MD_CBLOCK 64 | 67 | #define HMAC_MAX_MD_CBLOCK 64 |
| 72 | 68 | ||
| 69 | #ifdef __cplusplus | ||
| 70 | extern "C" { | ||
| 71 | #endif | ||
| 72 | |||
| 73 | typedef struct hmac_ctx_st | 73 | typedef struct hmac_ctx_st |
| 74 | { | 74 | { |
| 75 | const EVP_MD *md; | 75 | const EVP_MD *md; |
