mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-18 11:37:34 -04:00
Fix misplaced extern "C" affecting MBEDTLS_ARIA_ALT
Reported via Mbed OS: https://github.com/ARMmbed/mbed-os/issues/14694 Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
f823722af4
commit
59392b0075
@ -51,14 +51,14 @@
|
|||||||
|
|
||||||
#define MBEDTLS_ERR_ARIA_INVALID_INPUT_LENGTH -0x005E /**< Invalid data input length. */
|
#define MBEDTLS_ERR_ARIA_INVALID_INPUT_LENGTH -0x005E /**< Invalid data input length. */
|
||||||
|
|
||||||
#if !defined(MBEDTLS_ARIA_ALT)
|
|
||||||
// Regular implementation
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_ARIA_ALT)
|
||||||
|
// Regular implementation
|
||||||
|
//
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief The ARIA context-type definition.
|
* \brief The ARIA context-type definition.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user