diff options
author | Rich Salz <rsalz@akamai.com> | 2014-08-27 21:47:12 -0400 |
---|---|---|
committer | Rich Salz <rsalz@akamai.com> | 2014-08-27 21:47:12 -0400 |
commit | 23ea9f6f03332c07977964c674fa00699d999220 (patch) | |
tree | e9a2338bc450bffadefbacae134148d65e91f822 /crypto/ossl_typ.h | |
parent | 3e5df378613b2bd70e2e2eee4bec7b5c88b298e6 (diff) |
RT2308: Add extern "C" { ... } wrapper
Add the wrapper to all public header files (Configure
generates one). Don't bother for those that are just
lists of #define's that do renaming.
Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 089f10e69ece75ce31540501fe0898b15e898552)
Diffstat (limited to 'crypto/ossl_typ.h')
-rw-r--r-- | crypto/ossl_typ.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/ossl_typ.h b/crypto/ossl_typ.h index ea9227f6f9..12cdd43be9 100644 --- a/crypto/ossl_typ.h +++ b/crypto/ossl_typ.h @@ -55,6 +55,10 @@ #ifndef HEADER_OPENSSL_TYPES_H #define HEADER_OPENSSL_TYPES_H +#ifdef __cplusplus +extern "C" { +#endif + #include <openssl/e_os2.h> #ifdef NO_ASN1_TYPEDEFS @@ -199,4 +203,7 @@ typedef struct ocsp_req_ctx_st OCSP_REQ_CTX; typedef struct ocsp_response_st OCSP_RESPONSE; typedef struct ocsp_responder_id_st OCSP_RESPID; +#ifdef __cplusplus +} +#endif #endif /* def HEADER_OPENSSL_TYPES_H */ |