diff --git a/lib/hcrypto/evp.h b/lib/hcrypto/evp.h index 33cb6a071..e1d93dcd9 100644 --- a/lib/hcrypto/evp.h +++ b/lib/hcrypto/evp.h @@ -161,6 +161,10 @@ struct hc_EVP_MD_CTX { void *ptr; }; +#ifdef __cplusplus +extern "C" { +#endif + /* * Avaible crypto algs */ @@ -258,4 +262,8 @@ void OpenSSL_add_all_algorithms(void); void OpenSSL_add_all_algorithms_conf(void); void OpenSSL_add_all_algorithms_noconf(void); +#ifdef __cplusplus +} +#endif + #endif /* HEIM_EVP_H */