diff options
Diffstat (limited to 'src/lib/libcrypto/hmac')
-rw-r--r-- | src/lib/libcrypto/hmac/Makefile.ssl | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/hmac/hmac.h | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/libcrypto/hmac/Makefile.ssl b/src/lib/libcrypto/hmac/Makefile.ssl index 04b1b9be98..cf57311973 100644 --- a/src/lib/libcrypto/hmac/Makefile.ssl +++ b/src/lib/libcrypto/hmac/Makefile.ssl | |||
@@ -85,10 +85,11 @@ hmac.o: ../../include/openssl/des.h ../../include/openssl/dh.h | |||
85 | hmac.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | 85 | hmac.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h |
86 | hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h | 86 | hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h |
87 | hmac.o: ../../include/openssl/idea.h ../../include/openssl/md2.h | 87 | hmac.o: ../../include/openssl/idea.h ../../include/openssl/md2.h |
88 | hmac.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h | 88 | hmac.o: ../../include/openssl/md4.h ../../include/openssl/md5.h |
89 | hmac.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h | ||
89 | hmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | 90 | hmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h |
90 | hmac.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h | 91 | hmac.o: ../../include/openssl/opensslv.h ../../include/openssl/rc2.h |
91 | hmac.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h | 92 | hmac.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h |
92 | hmac.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h | 93 | hmac.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h |
93 | hmac.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | 94 | hmac.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h |
94 | hmac.o: ../../include/openssl/stack.h | 95 | hmac.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
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; |