Skip to content

Commit a9ed8b5

Browse files
committed
Allow enabling or disabling default full client profile inclusion via config file
1 parent 2ad98e9 commit a9ed8b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/BearSSLClient.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ BearSSLClient::BearSSLClient(Client* client, const br_x509_trust_anchor* myTAs,
5454
_noSNI(false),
5555
_skeyDecoder(NULL),
5656
_ecChainLen(0),
57+
#ifndef ARDUINO_BEARSSL_DISABLE_FULL_CLIENT_PROFILE
5758
_br_ssl_client_init_function(br_ssl_client_init_full)
59+
#else
60+
_br_ssl_client_init_function(NULL)
61+
#endif
5862
{
5963
#ifndef ARDUINO_DISABLE_ECCX08
6064
_ecVrfy = eccX08_vrfy_asn1;

0 commit comments

Comments
 (0)