mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-23 08:45:22 +03:00
remove (std::nothrow) where nullptr case is not handled
remove legacy new management
This commit is contained in:
@ -74,9 +74,9 @@ void setup() {
|
||||
WiFiMulti.addAP(STASSID, STAPSK);
|
||||
|
||||
#if MANUAL_SIGNING
|
||||
signPubKey = new (std::nothrow) BearSSL::PublicKey(pubkey);
|
||||
hash = new (std::nothrow) BearSSL::HashSHA256();
|
||||
sign = new (std::nothrow) BearSSL::SigningVerifier(signPubKey);
|
||||
signPubKey = new BearSSL::PublicKey(pubkey);
|
||||
hash = new BearSSL::HashSHA256();
|
||||
sign = new BearSSL::SigningVerifier(signPubKey);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user