diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-17 00:06:57 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-17 00:08:18 +0200 |
commit | 2780ac962ec75f548acb616dd810515e528ac0b1 (patch) | |
tree | 3c89dab46a6f225b8e2caf04a8d51c6a29b0e6f0 /src/Crypto/Streebog.h | |
parent | e47f94cb4329cfefb0a9c4efaa353a1b54268b46 (diff) | |
download | VeraCrypt-2780ac962ec75f548acb616dd810515e528ac0b1.tar.gz VeraCrypt-2780ac962ec75f548acb616dd810515e528ac0b1.zip |
Linux: fix various compilation issues under Linux.
Diffstat (limited to 'src/Crypto/Streebog.h')
-rw-r--r-- | src/Crypto/Streebog.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Crypto/Streebog.h b/src/Crypto/Streebog.h index 47c792c1..3cb8d8ed 100644 --- a/src/Crypto/Streebog.h +++ b/src/Crypto/Streebog.h @@ -12,6 +12,10 @@ #include "Common/Tcdefs.h" #include "config.h" +#ifdef __cplusplus +extern "C" { +#endif + #define ALIGN(a) CRYPTOPP_ALIGN_DATA(a) typedef ALIGN(16) struct _STREEBOG_CTX @@ -30,4 +34,8 @@ void STREEBOG_init256(STREEBOG_CTX *ctx); void STREEBOG_add(STREEBOG_CTX *ctx, const byte *msg, size_t len); void STREEBOG_finalize(STREEBOG_CTX *ctx, byte *out); +#ifdef __cplusplus +} +#endif + #endif |