mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 11:45:42 +01:00
Add missing extern "C" guard in aesni.h
This commit is contained in:
parent
51bccd3889
commit
1a90147dc5
@ -28,6 +28,7 @@ Bugfix
|
|||||||
* Fix compile error when POLARSSL_SSL_DISABLE_RENEGOTATION and
|
* Fix compile error when POLARSSL_SSL_DISABLE_RENEGOTATION and
|
||||||
POLARSSL_SSL_SSESSION_TICKETS where both enabled in config.h (introduced
|
POLARSSL_SSL_SSESSION_TICKETS where both enabled in config.h (introduced
|
||||||
in 1.3.10).
|
in 1.3.10).
|
||||||
|
* Add missing extern "C" guard in aesni.h (reported by amir zamani).
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* ssl_set_own_cert() now longers calls pk_check_pair() since the
|
* ssl_set_own_cert() now longers calls pk_check_pair() since the
|
||||||
|
@ -37,6 +37,10 @@
|
|||||||
|
|
||||||
#if defined(POLARSSL_HAVE_X86_64)
|
#if defined(POLARSSL_HAVE_X86_64)
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief AES-NI features detection routine
|
* \brief AES-NI features detection routine
|
||||||
*
|
*
|
||||||
@ -99,6 +103,10 @@ int aesni_setkey_enc( unsigned char *rk,
|
|||||||
const unsigned char *key,
|
const unsigned char *key,
|
||||||
size_t bits );
|
size_t bits );
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* POLARSSL_HAVE_X86_64 */
|
#endif /* POLARSSL_HAVE_X86_64 */
|
||||||
|
|
||||||
#endif /* POLARSSL_AESNI_H */
|
#endif /* POLARSSL_AESNI_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user