commit | 1a90147dc5e10a3ce2e34694d00d333026f2e4db | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Mar 10 16:12:29 2015 +0000 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Mar 10 16:12:29 2015 +0000 |
tree | 4ad5b53dc32fec9d0af312deadd38827300a3418 | |
parent | 51bccd388910c30b29cedc20d34df6f7e5216875 [diff] [blame] |
Add missing extern "C" guard in aesni.h
diff --git a/include/polarssl/aesni.h b/include/polarssl/aesni.h index bb514ca..02419ed 100644 --- a/include/polarssl/aesni.h +++ b/include/polarssl/aesni.h
@@ -37,6 +37,10 @@ #if defined(POLARSSL_HAVE_X86_64) +#ifdef __cplusplus +extern "C" { +#endif + /** * \brief AES-NI features detection routine * @@ -99,6 +103,10 @@ const unsigned char *key, size_t bits ); +#ifdef __cplusplus +} +#endif + #endif /* POLARSSL_HAVE_X86_64 */ #endif /* POLARSSL_AESNI_H */