Skip to content

Commit ff3bd25

Browse files
committed
Fix certificate issue #30
1 parent b74e8cf commit ff3bd25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/Helper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ namespace key_bssl
190190
switch (pk->key_type)
191191
{
192192
case BR_KEYTYPE_RSA:
193-
// (RSA allocation and copy logic, lines 219-232)
193+
// (RSA allocation and copy logic)
194194
ta->pkey.key_type = BR_KEYTYPE_RSA;
195195
ta->pkey.key.rsa.n = reinterpret_cast<uint8_t *>(esp_sslclient_malloc(pk->key.rsa.nlen));
196196
ta->pkey.key.rsa.e = reinterpret_cast<uint8_t *>(esp_sslclient_malloc(pk->key.rsa.elen));
@@ -208,7 +208,7 @@ namespace key_bssl
208208
break;
209209

210210
case BR_KEYTYPE_EC:
211-
// (EC allocation and copy logic, lines 234-243)
211+
// (EC allocation and copy logic)
212212
ta->pkey.key_type = BR_KEYTYPE_EC;
213213
ta->pkey.key.ec.curve = pk->key.ec.curve;
214214
ta->pkey.key.ec.q = reinterpret_cast<uint8_t *>(esp_sslclient_malloc(pk->key.ec.qlen));

0 commit comments

Comments
 (0)