summaryrefslogtreecommitdiff
path: root/host/linktest
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2010-06-15 18:45:09 -0700
committerRandall Spangler <rspangler@chromium.org>2010-06-15 18:45:09 -0700
commita55e5ca76c5054c02dcc0628be0950c07b49d38c (patch)
tree322a873fbf83ea81cf4e73dc7afe177cd70f9271 /host/linktest
parente3b4ac96bc8b47bc9e5f01177d8cf20066cff4a8 (diff)
downloadvboot-a55e5ca76c5054c02dcc0628be0950c07b49d38c.tar.gz
Refactor LoadFirmware() to avoid global variables, which don't work when running out of ROM
Review URL: http://codereview.chromium.org/2848006
Diffstat (limited to 'host/linktest')
-rw-r--r--host/linktest/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/host/linktest/main.c b/host/linktest/main.c
index b8db1211..5fb7dd3d 100644
--- a/host/linktest/main.c
+++ b/host/linktest/main.c
@@ -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);