summaryrefslogtreecommitdiffstats
path: root/crypto/hmac
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2018-06-21 23:24:34 +0300
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-06-22 12:24:59 +0200
commit34446a852457600fc1297edce81e14da4e287191 (patch)
tree6f2e4fe20faebe8e947cb9b28b9040f1671a3fd9 /crypto/hmac
parent07e4dc341fa73e8521b7964a1eebdd811c96a160 (diff)
Remove __cplusplus preamble from internal headers
These headers are internal and never exposed to a cpp compiler, hence no need for the preamble. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/6554)
Diffstat (limited to 'crypto/hmac')
-rw-r--r--crypto/hmac/hmac_lcl.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/crypto/hmac/hmac_lcl.h b/crypto/hmac/hmac_lcl.h
index 4c156dc126..7ba0aac483 100644
--- a/crypto/hmac/hmac_lcl.h
+++ b/crypto/hmac/hmac_lcl.h
@@ -10,13 +10,6 @@
#ifndef HEADER_HMAC_LCL_H
# define HEADER_HMAC_LCL_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-#if 0 /* emacs indentation fix */
-}
-#endif
-
struct hmac_ctx_st {
const EVP_MD *md;
EVP_MD_CTX *md_ctx;
@@ -26,8 +19,4 @@ struct hmac_ctx_st {
unsigned char key[HMAC_MAX_MD_CBLOCK];
};
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif