Merge pull request #4979 from dgarske/sniffer_tidy

This commit is contained in:
Anthony Hu
2022-03-23 15:13:20 -04:00
committed by GitHub
4 changed files with 7 additions and 6 deletions

View File

@ -65,6 +65,7 @@ if [ "$1" == "hrr" ]; then
# TLS v1.3 Hello Retry Request
./examples/server/server -v 4 -i -x -g &
sleep 0.1
fi
# Run this script from the wolfSSL root
if [ ! -f wolfssl/ssl.h ]; then

View File

@ -2229,8 +2229,8 @@ typedef struct {
#endif
} pub;
#endif
int initPriv:1;
int initPub:1;
byte initPriv:1;
byte initPub:1;
} SnifferKey;
typedef struct SetupKeysArgs {

View File

@ -735,7 +735,7 @@ int main(int argc, char** argv)
WOLF_EVENT* events[1]; /* poll for single event */
int eventCount = 0;
/* For async call the original API again with same data,
/* For async call the original API again with same data,
* or call with different sessions for multiple concurrent
* stream processing */
ret = ssl_DecodePacketAsync(chain, chainSz, isChain, &data, err,

View File

@ -124,12 +124,12 @@ SSL_SNIFFER_API int ssl_GetSessionStats(unsigned int* active,
unsigned int* reassemblyMemory,
char* error);
WOLFSSL_API
WOLFSSL_API
SSL_SNIFFER_API void ssl_InitSniffer(void);
WOLFSSL_API
WOLFSSL_API
SSL_SNIFFER_API void ssl_InitSniffer_ex(int devId);
WOLFSSL_API
WOLFSSL_API
SSL_SNIFFER_API void ssl_FreeSniffer(void);