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

src/BearSSLClient.cpp

Lines changed: 0 additions & 5 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy