1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Update to latest BearSSL (#6337)

Fix a buffer overflow error in private key decoding.

https://bearssl.org/gitweb/?p=BearSSL;a=commit;h=b715b43e411dc5d5949df6f75ef7bb65952db11c
This commit is contained in:
Earle F. Philhower, III 2019-07-23 22:05:47 -07:00 committed by GitHub
parent 705dd39093
commit 4e7f5afc54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -1,2 +1,2 @@
// Do not edit -- Automatically generated by tools/sdk/ssl/bearssl/Makefile // Do not edit -- Automatically generated by tools/sdk/ssl/bearssl/Makefile
#define BEARSSL_GIT 9247320 #define BEARSSL_GIT 89454af

View File

@ -1251,8 +1251,8 @@ static inline void
br_ssl_engine_set_versions(br_ssl_engine_context *cc, br_ssl_engine_set_versions(br_ssl_engine_context *cc,
unsigned version_min, unsigned version_max) unsigned version_min, unsigned version_max)
{ {
cc->version_min = version_min; cc->version_min = (uint16_t)version_min;
cc->version_max = version_max; cc->version_max = (uint16_t)version_max;
} }
/** /**
@ -1325,7 +1325,7 @@ br_ssl_engine_set_protocol_names(br_ssl_engine_context *ctx,
const char **names, size_t num) const char **names, size_t num)
{ {
ctx->protocol_names = names; ctx->protocol_names = names;
ctx->protocol_names_num = num; ctx->protocol_names_num = (uint16_t)num;
} }
/** /**

Binary file not shown.

@ -1 +1 @@
Subproject commit 924732095f12fe01e0b0b6cb6b4e8a6756f98837 Subproject commit 89454af34e3e61ddfc9837f3da5a0bc8ed44c3aa