Skip to content

Commit a891ad3

Browse files
committed
BearSSLClient: use internal verify and sign callbacks by default
callbacks are switched to ECC when setECCSlot is called
1 parent 730cd84 commit a891ad3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: src/BearSSLClient.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,8 @@ BearSSLClient::BearSSLClient(Client* client, const br_x509_trust_anchor* myTAs,
6767
_br_ssl_client_init_function(NULL)
6868
#endif
6969
{
70-
#ifndef ARDUINO_DISABLE_ECCX08
71-
_ecVrfy = eccX08_vrfy_asn1;
72-
_ecSign = eccX08_sign_asn1;
73-
#else
7470
_ecVrfy = br_ecdsa_vrfy_asn1_get_default();
7571
_ecSign = br_ecdsa_sign_asn1_get_default();
76-
#endif
7772

7873
_ecKey.curve = 0;
7974
_ecKey.x = NULL;

0 commit comments

Comments
 (0)