Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: src/platform/vboot_reference/utils/firmware_utility.cc

Issue 668100: Include missing header. (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/platform/vboot_reference/utils/kernel_utility.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Utility for manipulating verified boot firmware images. 5 // Utility for manipulating verified boot firmware images.
6 // 6 //
7 7
8 #include "firmware_utility.h" 8 #include "firmware_utility.h"
9 9
10 #include <errno.h> 10 #include <errno.h>
11 #include <getopt.h> 11 #include <getopt.h>
12 #include <stdio.h>
12 #include <stdint.h> // Needed for UINT16_MAX. 13 #include <stdint.h> // Needed for UINT16_MAX.
13 #include <stdlib.h> 14 #include <stdlib.h>
14 #include <unistd.h> 15 #include <unistd.h>
15 16
16 #include <iostream> 17 #include <iostream>
17 18
18 extern "C" { 19 extern "C" {
19 #include "file_keys.h" 20 #include "file_keys.h"
20 #include "firmware_image.h" 21 #include "firmware_image.h"
21 #include "padding.h" 22 #include "padding.h"
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 } 300 }
300 if (fu.is_verify()) { 301 if (fu.is_verify()) {
301 cerr << "Verification "; 302 cerr << "Verification ";
302 if (fu.VerifySignedImage()) 303 if (fu.VerifySignedImage())
303 cerr << "SUCCESS.\n"; 304 cerr << "SUCCESS.\n";
304 else 305 else
305 cerr << "FAILURE.\n"; 306 cerr << "FAILURE.\n";
306 } 307 }
307 return 0; 308 return 0;
308 } 309 }
OLDNEW
« no previous file with comments | « no previous file | src/platform/vboot_reference/utils/kernel_utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698