diff options
Diffstat (limited to 'crypto/hmac/hmac.h')
-rw-r--r-- | crypto/hmac/hmac.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/hmac/hmac.h b/crypto/hmac/hmac.h index 223eeda7f3..328bad2608 100644 --- a/crypto/hmac/hmac.h +++ b/crypto/hmac/hmac.h @@ -58,10 +58,6 @@ #ifndef HEADER_HMAC_H #define HEADER_HMAC_H -#ifdef __cplusplus -extern "C" { -#endif - #ifdef NO_HMAC #error HMAC is disabled. #endif @@ -70,6 +66,10 @@ extern "C" { #define HMAC_MAX_MD_CBLOCK 64 +#ifdef __cplusplus +extern "C" { +#endif + typedef struct hmac_ctx_st { const EVP_MD *md; |