diff options
author | Richard Levitte <levitte@openssl.org> | 2000-05-02 12:16:01 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-05-02 12:16:01 +0000 |
commit | 82271cee5b6369c263213845f8a81be40d5d5585 (patch) | |
tree | 43a5b74770b864de29034a7954b98703b103b920 /crypto/hmac | |
parent | 22a415478fa196d08a33a3be3f2e20a49b2ef43a (diff) | |
download | openssl-82271cee5b6369c263213845f8a81be40d5d5585.tar.gz |
In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the
OpenSSL header files have #include's and extern "C"'s in an incorrect
order. Thusly fixed.
Diffstat (limited to 'crypto/hmac')
-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; |