Add missing extern "C" guard to new headers

This commit is contained in:
Manuel Pégourié-Gonnard 2018-05-07 10:10:30 +02:00
parent 95d0bdbd84
commit 823b7a0ce7
3 changed files with 24 additions and 0 deletions

View file

@ -34,6 +34,10 @@
#define MBEDTLS_ERR_POLY1305_BAD_INPUT_DATA -0x0041 /**< Invalid input parameter(s). */
#ifdef __cplusplus
extern "C" {
#endif
#if !defined(MBEDTLS_POLY1305_ALT)
typedef struct
@ -140,4 +144,8 @@ int mbedtls_poly1305_mac( const unsigned char key[32],
*/
int mbedtls_poly1305_self_test( int verbose );
#ifdef __cplusplus
}
#endif
#endif /* MBEDTLS_POLY1305_H */