mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Moved __cplusplus extern statement to include struct definitions as well.
This commit is contained in:
@ -254,6 +254,10 @@
|
||||
#define POLARSSL_PREMASTER_SIZE POLARSSL_MPI_MAX_SIZE
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Generic function pointers for allowing external RSA private key
|
||||
* implementations.
|
||||
@ -547,10 +551,6 @@ struct _ssl_context
|
||||
char peer_verify_data[36]; /*!< previous handshake verify data */
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_SSL_HW_RECORD_ACCEL)
|
||||
|
||||
#define SSL_CHANNEL_OUTBOUND 0
|
||||
|
Reference in New Issue
Block a user