From a2b5706813f8a95f19220cb6c3a2dfff1013c820 Mon Sep 17 00:00:00 2001 From: ant Date: Sat, 13 Mar 2021 09:29:18 +0000 Subject: [PATCH] Use original sign and verify functions as default --- src/BearSSLClient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BearSSLClient.cpp b/src/BearSSLClient.cpp index e8e8d3c..ea73e75 100644 --- a/src/BearSSLClient.cpp +++ b/src/BearSSLClient.cpp @@ -47,8 +47,8 @@ BearSSLClient::BearSSLClient(Client* client, const br_x509_trust_anchor* myTAs, _noSNI(false), _ecChainLen(0) { - _ecVrfy = br_ecdsa_vrfy_asn1_get_default(); - _ecSign = br_ecdsa_sign_asn1_get_default(); + _ecVrfy = eccX08_vrfy_asn1; + _ecSign = eccX08_sign_asn1; _ecKey.curve = 0; _ecKey.x = NULL;