mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-05 13:44:41 +02:00
Based on peer feedback, remove WOLFSSL_PACK from sniffer.h
This commit is contained in:
@@ -98,14 +98,6 @@ enum {
|
|||||||
* information associated with the SSL session.
|
* information associated with the SSL session.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if (defined(__IAR_SYSTEMS_ICC__) && (__IAR_SYSTEMS_ICC__ > 8)) || \
|
|
||||||
defined(__GNUC__)
|
|
||||||
#define WOLFSSL_PACK __attribute__ ((packed))
|
|
||||||
#else
|
|
||||||
#define WOLFSSL_PACK
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct SSLInfo
|
typedef struct SSLInfo
|
||||||
{
|
{
|
||||||
unsigned char isValid;
|
unsigned char isValid;
|
||||||
@@ -118,7 +110,7 @@ typedef struct SSLInfo
|
|||||||
/* cipher name, e.g., "TLS_RSA_..." */
|
/* cipher name, e.g., "TLS_RSA_..." */
|
||||||
unsigned char serverNameIndication[128];
|
unsigned char serverNameIndication[128];
|
||||||
unsigned int keySize;
|
unsigned int keySize;
|
||||||
} WOLFSSL_PACK SSLInfo;
|
} SSLInfo;
|
||||||
|
|
||||||
|
|
||||||
WOLFSSL_API
|
WOLFSSL_API
|
||||||
|
Reference in New Issue
Block a user