mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 18:25:10 +00:00
Refactor LoadFirmware() to avoid global variables, which don't work when running out of ROM
Review URL: http://codereview.chromium.org/2848006
This commit is contained in:
@@ -7,9 +7,7 @@ int main(void)
|
||||
/* host_key.h */
|
||||
PrivateKeyRead(0, 0);
|
||||
PrivateKeyFree(0);
|
||||
PublicKeyInit(0, 0, 0);
|
||||
PublicKeyAlloc(0, 0, 0);
|
||||
PublicKeyCopy(0, 0);
|
||||
PublicKeyRead(0);
|
||||
PublicKeyReadKeyb(0, 0, 0);
|
||||
PublicKeyWrite(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user