diff options
Diffstat (limited to 'host/include/openssl_compat.h')
-rw-r--r-- | host/include/openssl_compat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/host/include/openssl_compat.h b/host/include/openssl_compat.h index 7771f32a..35bb250b 100644 --- a/host/include/openssl_compat.h +++ b/host/include/openssl_compat.h @@ -6,6 +6,10 @@ #ifndef VBOOT_REFERENCE_OPENSSL_COMPAT_H_ #define VBOOT_REFERENCE_OPENSSL_COMPAT_H_ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include <openssl/rsa.h> #if OPENSSL_VERSION_NUMBER < 0x10100000L @@ -23,4 +27,8 @@ static inline void RSA_get0_key(const RSA *rsa, const BIGNUM **n, #endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* VBOOT_REFERENCE_OPENSSL_COMPAT_H_ */ |