1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-24 19:42:27 +03:00

replace new by new (std::nothrow), remove arduino_new

This commit is contained in:
david gauchard
2020-08-17 18:15:45 +02:00
parent 5b3d290de8
commit 6925982284
45 changed files with 207 additions and 167 deletions

View File

@ -74,9 +74,9 @@ void setup() {
WiFiMulti.addAP(STASSID, STAPSK);
#if MANUAL_SIGNING
signPubKey = new BearSSL::PublicKey(pubkey);
hash = new BearSSL::HashSHA256();
sign = new BearSSL::SigningVerifier(signPubKey);
signPubKey = new (std::nothrow) BearSSL::PublicKey(pubkey);
hash = new (std::nothrow) BearSSL::HashSHA256();
sign = new (std::nothrow) BearSSL::SigningVerifier(signPubKey);
#endif
}