Moved __cplusplus extern statement to include struct definitions as well.
This commit is contained in:
parent
c5a79cca53
commit
407a0da160
30 changed files with 144 additions and 113 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue