Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit af72321

Browse files
authored
v1.1.2
### Release v1.1.2 1. Add SSL debug feature. 2. Enhance examples.
1 parent fcc8b80 commit af72321

File tree

4 files changed

+1090
-12
lines changed

4 files changed

+1090
-12
lines changed

src/SSLClient/SSLClient.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@
1818
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1919
*/
2020

21+
#pragma once
22+
2123
#include "Client.h"
2224
#include "SSLClient/SSLSession.h"
2325
#include "SSLClient/SSLClientParameters.h"
2426
#include <vector>
2527

26-
#ifndef SSLClient_H_
27-
#define SSLClient_H_
28-
2928
/**
3029
@brief The main SSLClient class.
3130
Check out README.md for more info.
@@ -500,7 +499,11 @@ class EthernetSSLClient : public Client
500499
As a rule of thumb EthernetSSLClient will fail if it does not have at least 8000 bytes when starting a
501500
connection.
502501
*/
502+
// KH test increase
503503
unsigned char m_iobuf[2048];
504+
//unsigned char m_iobuf[4096];
505+
//////
506+
504507
// store the index of where we are writing in the buffer
505508
// so we can send our records all at once to prevent
506509
// weird timing issues
@@ -509,4 +512,4 @@ class EthernetSSLClient : public Client
509512
unsigned m_br_last_state;
510513
};
511514

512-
#endif /** SSLClient_H_ */
515+
#include "SSLClient/SSLClient_Impl.h"

src/SSLClient/SSLClientParameters.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@
2525
for reuse later.
2626
*/
2727

28+
#pragma once
29+
2830
#include "SSLClient/bearssl.h"
2931
#undef min
3032
#undef max
3133
#include <vector>
3234

33-
#ifndef SSLClientParameters_H_
34-
#define SSLClientParameters_H_
35-
3635
/**
3736
@brief This class stores data required for SSLClient to use mutual authentication.
3837
@@ -145,4 +144,3 @@ class SSLClientParameters
145144
const br_skey_decoder_context m_key_struct;
146145
};
147146

148-
#endif

0 commit comments

Comments
 (0)